Spaces:
Runtime error
Runtime error
Commit
·
a985fd1
1
Parent(s):
5576d06
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from ccogsphere import ccs
|
3 |
-
|
4 |
-
|
5 |
-
|
|
|
|
|
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()
|