Jerimee commited on
Commit
2b939bd
β€’
1 Parent(s): ce74d8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -12,18 +12,22 @@ if __name__ == "__main__":
12
  inputs = "text",
13
  outputs = ['text'],
14
  title = 'Sentiment Analysis',
15
- description = 'Get Sentiment Negative/positive for the given input',
 
16
  examples=[
17
  ["better than nothing, I guess... I guess you get what you pay for :("],
 
18
  ["This is better than nothing. You get what you pay for!"],
19
  ["the price reasonable"],
 
20
  ["This is better than a kick in the face. Guess you can't look a gift horse in the mouth."],
21
- ["I'd rather have root canal than experience this again."],
22
  ["They seem to have a bias as all the people working at the reception look exactly the same."],
23
  ["All the people working at the reception look exactly the same!"],
24
  ["this was expected, clean towels and room cleaned every day"],
25
  ["The top of the window was covered by a dirty blind. It was pretty gross."],
26
- ["The helpful staff were consistently cheap and comfortable."]
 
27
  ],
28
  )
29
  iface.launch(inline = False)
 
12
  inputs = "text",
13
  outputs = ['text'],
14
  title = 'Sentiment Analysis',
15
+ description = 'Determine how negative or positive a given sentiment is. Input a sentence or two and see what the model "thinks."',
16
+ btn = gr.Button("Sense mood >>")
17
  examples=[
18
  ["better than nothing, I guess... I guess you get what you pay for :("],
19
+ [":( :( :("],
20
  ["This is better than nothing. You get what you pay for!"],
21
  ["the price reasonable"],
22
+ ["the price reasonable?"],
23
  ["This is better than a kick in the face. Guess you can't look a gift horse in the mouth."],
24
+ ["I'd rather have root canal than have this experience this again."],
25
  ["They seem to have a bias as all the people working at the reception look exactly the same."],
26
  ["All the people working at the reception look exactly the same!"],
27
  ["this was expected, clean towels and room cleaned every day"],
28
  ["The top of the window was covered by a dirty blind. It was pretty gross."],
29
+ ["The helpful staff were consistently cheap and comfortable."],
30
+ ["The staff were cheap."]
31
  ],
32
  )
33
  iface.launch(inline = False)