Spaces:
Runtime error
Runtime error
SUPERFIRE777
commited on
Commit
·
bf43737
1
Parent(s):
26f5bb2
Update app.py
Browse files
app.py
CHANGED
@@ -20,10 +20,9 @@ def analyze(sentence):
|
|
20 |
else:
|
21 |
sentiment = "Negative"
|
22 |
|
23 |
-
return
|
24 |
-
|
25 |
-
|
26 |
iface = gr.Interface(fn=analyze,
|
27 |
inputs="text",
|
28 |
-
outputs="
|
29 |
iface.launch()
|
|
|
20 |
else:
|
21 |
sentiment = "Negative"
|
22 |
|
23 |
+
return (en_sentence,sentiment)
|
24 |
+
|
|
|
25 |
iface = gr.Interface(fn=analyze,
|
26 |
inputs="text",
|
27 |
+
outputs=["text"] * 2)
|
28 |
iface.launch()
|