Spaces:
Runtime error
Runtime error
Commit
•
e4e9735
1
Parent(s):
a39815e
Update app.py
Browse files
app.py
CHANGED
@@ -17,5 +17,5 @@ def greet(name):
|
|
17 |
def predict_text(text):
|
18 |
return return_labels, return_sentiment
|
19 |
|
20 |
-
demo = gr.Interface(fn=
|
21 |
demo.launch()
|
|
|
17 |
def predict_text(text):
|
18 |
return return_labels, return_sentiment
|
19 |
|
20 |
+
demo = gr.Interface(fn=predict_text, inputs="text", outputs=["label", "label"])
|
21 |
demo.launch()
|