Spaces:
Build error
Build error
Commit
·
9e6957e
1
Parent(s):
5c5fdba
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def predict_label(text):
|
|
37 |
output=''
|
38 |
for op in pooled_scores[0]:
|
39 |
output+= op + ','
|
40 |
-
return output
|
41 |
|
42 |
iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
43 |
iface.launch()
|
|
|
37 |
output=''
|
38 |
for op in pooled_scores[0]:
|
39 |
output+= op + ','
|
40 |
+
return 'output'
|
41 |
|
42 |
iface = gr.Interface(fn=predict_label, inputs="text", outputs="text")
|
43 |
iface.launch()
|