Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,5 +31,5 @@ def detect(input_text,device,th=-3.08583984375):
|
|
31 |
|
32 |
return label2decisions[decision]
|
33 |
|
34 |
-
iface = gr.Interface(fn=
|
35 |
iface.launch()
|
|
|
31 |
|
32 |
return label2decisions[decision]
|
33 |
|
34 |
+
iface = gr.Interface(fn=detect, inputs="text", outputs="text")
|
35 |
iface.launch()
|