Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,21 +13,18 @@ if __name__ == "__main__":
|
|
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("
|
17 |
examples=[
|
18 |
["better than nothing, I guess... I guess you get what you pay for :("],
|
19 |
["This is better than nothing. You get what you pay for!"],
|
20 |
["the price reasonable"],
|
21 |
-
["
|
22 |
["This is better than a kick in the face. Guess you can't look a gift horse in the mouth."],
|
23 |
-
["I'd rather have root canal than have this experience this again."],
|
24 |
["They seem to have a bias as all the people working at the reception look exactly the same."],
|
25 |
["All the people working at the reception look exactly the same!"],
|
26 |
["this was expected, clean towels and room cleaned every day"],
|
27 |
["The top of the window was covered by a dirty blind. It was pretty gross."],
|
28 |
-
["The helpful staff were consistently cheap and comfortable."]
|
29 |
-
["The staff were cheap."],
|
30 |
-
[":( :( :("]
|
31 |
]
|
32 |
)
|
33 |
iface.launch(inline = False)
|
|
|
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("Run"),
|
17 |
examples=[
|
18 |
["better than nothing, I guess... I guess you get what you pay for :("],
|
19 |
["This is better than nothing. You get what you pay for!"],
|
20 |
["the price reasonable"],
|
21 |
+
["Is this price considered reasonable?"],
|
22 |
["This is better than a kick in the face. Guess you can't look a gift horse in the mouth."],
|
|
|
23 |
["They seem to have a bias as all the people working at the reception look exactly the same."],
|
24 |
["All the people working at the reception look exactly the same!"],
|
25 |
["this was expected, clean towels and room cleaned every day"],
|
26 |
["The top of the window was covered by a dirty blind. It was pretty gross."],
|
27 |
+
["The helpful staff were consistently cheap and comfortable."]
|
|
|
|
|
28 |
]
|
29 |
)
|
30 |
iface.launch(inline = False)
|