Spaces:
Runtime error
Runtime error
add changes
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def sentiment_analysis(text):
|
|
46 |
app = gr.Interface(
|
47 |
fn=sentiment_analysis,
|
48 |
inputs=gr.Textbox("Input tweet here:"),
|
49 |
-
outputs="
|
50 |
title="Sentiment Analysis of Tweets on Covid-19 Vaccines",
|
51 |
description="With this App, you can type Tweets related to the Covid Vaccine and the app will rate the sentiment of the tweet..!",
|
52 |
examples=[["Be careful of covid vaccination"],
|
@@ -55,4 +55,4 @@ app = gr.Interface(
|
|
55 |
)
|
56 |
|
57 |
if __name__ == "__main__":
|
58 |
-
app.launch(server_name=
|
|
|
46 |
app = gr.Interface(
|
47 |
fn=sentiment_analysis,
|
48 |
inputs=gr.Textbox("Input tweet here:"),
|
49 |
+
outputs="label",
|
50 |
title="Sentiment Analysis of Tweets on Covid-19 Vaccines",
|
51 |
description="With this App, you can type Tweets related to the Covid Vaccine and the app will rate the sentiment of the tweet..!",
|
52 |
examples=[["Be careful of covid vaccination"],
|
|
|
55 |
)
|
56 |
|
57 |
if __name__ == "__main__":
|
58 |
+
app.launch(server_name='0.0.0.0', server_port='7860')
|