pakornor commited on
Commit
c2c8aae
1 Parent(s): ed55ec0

add changes

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="text",
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="0.0.0.0", server_port="7860")
 
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')