Calistus commited on
Commit
64ae206
·
1 Parent(s): 109cd63

add examples

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -41,7 +41,9 @@ app = gr.Interface(
41
  inputs=gr.Textbox(placeholder="Write your tweet here..."),
42
  outputs="label",
43
  interpretation="default",
44
- examples=[["Please don't listen to anyone. Vaccinate your child"],['My kid has a lump on his hand because of the vaccine']],
 
 
45
  title= 'Sentiment Analysis App',
46
  description= 'This app is designed to help you gauge the emotions and opinions expressed in text, particularly focusing on discussions related to measles vaccination on X(formerly Twitter). Simply input a tweet or any text, and the app will swiftly categorize it into one of three categories: Negative, Neutral, or Positive sentiment. ')
47
 
 
41
  inputs=gr.Textbox(placeholder="Write your tweet here..."),
42
  outputs="label",
43
  interpretation="default",
44
+ examples=[["Please don't listen to anyone. Vaccinate your child"],
45
+ ['My kid has a lump on his hand because of the vaccine'],
46
+ ['my church does not allow any form of vaccination']],
47
  title= 'Sentiment Analysis App',
48
  description= 'This app is designed to help you gauge the emotions and opinions expressed in text, particularly focusing on discussions related to measles vaccination on X(formerly Twitter). Simply input a tweet or any text, and the app will swiftly categorize it into one of three categories: Negative, Neutral, or Positive sentiment. ')
49