Update app.py
Browse files
app.py
CHANGED
@@ -11,5 +11,5 @@ def sentiment(text):
|
|
11 |
else:
|
12 |
return "Negative"
|
13 |
|
14 |
-
iface = gr.Interface(fn=
|
15 |
iface.launch()
|
|
|
11 |
else:
|
12 |
return "Negative"
|
13 |
|
14 |
+
iface = gr.Interface(fn=sentiment, inputs="text", outputs="text")
|
15 |
iface.launch()
|