CognitiveScience commited on
Commit
a985fd1
·
1 Parent(s): 5576d06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import gradio as gr
2
  from ccogsphere import ccs
3
-
4
-
5
- iface = gr.Interface(fn=ccs, inputs="text", outputs="text")
 
 
6
  iface.launch()
 
1
  import gradio as gr
2
  from ccogsphere import ccs
3
+ results=""
4
+ def cs(inp):
5
+ result=ccs(inp,results)
6
+ return result
7
+ iface = gr.Interface(fn=cs, inputs="text", outputs="text")
8
  iface.launch()