Spaces:
Runtime error
Runtime error
rohanphadke
commited on
Commit
•
a39815e
1
Parent(s):
c002f9a
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=greet, inputs="text", outputs="text")
|
21 |
demo.launch()
|