Update app.py
Browse files
app.py
CHANGED
@@ -21,6 +21,7 @@ def get_sentiment(input_text):
|
|
21 |
return f"Sentiment: {sentiment_label.capitalize()}, Score: {sentiment_score:.2f}"
|
22 |
|
23 |
|
|
|
24 |
# Update the Gradio Interface call
|
25 |
iface = gr.Interface(fn=get_sentiment, inputs=gr.Textbox(), outputs=gr.Textbox())
|
26 |
iface.launch(inline=True)
|
|
|
21 |
return f"Sentiment: {sentiment_label.capitalize()}, Score: {sentiment_score:.2f}"
|
22 |
|
23 |
|
24 |
+
|
25 |
# Update the Gradio Interface call
|
26 |
iface = gr.Interface(fn=get_sentiment, inputs=gr.Textbox(), outputs=gr.Textbox())
|
27 |
iface.launch(inline=True)
|