Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def sentiment_analysis(text):
|
|
| 37 |
|
| 38 |
|
| 39 |
#App interface with gradio
|
| 40 |
-
|
| 41 |
inputs = gr.Textbox("Write your text or tweet here..."),
|
| 42 |
outputs = "label",
|
| 43 |
title = "Sentiment Analysis of Tweets on COVID-19 Vaccines",
|
|
|
|
| 37 |
|
| 38 |
|
| 39 |
#App interface with gradio
|
| 40 |
+
demo = gr.Interface(fn = sentiment_analysis,
|
| 41 |
inputs = gr.Textbox("Write your text or tweet here..."),
|
| 42 |
outputs = "label",
|
| 43 |
title = "Sentiment Analysis of Tweets on COVID-19 Vaccines",
|