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