Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def sentiment_analysis(text):
|
|
13 |
del scores["compound"]
|
14 |
return scores
|
15 |
|
16 |
-
iface = gr.Interface(sentiment_analysis, "textbox", "label")
|
17 |
|
18 |
iface.test_launch()
|
19 |
if __name__ == "__main__":
|
|
|
13 |
del scores["compound"]
|
14 |
return scores
|
15 |
|
16 |
+
iface = gr.Interface(sentiment_analysis, "textbox", "label", interpretation="default")
|
17 |
|
18 |
iface.test_launch()
|
19 |
if __name__ == "__main__":
|