Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ 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("Sense mood")
|
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!"],
|
@@ -26,7 +26,8 @@ if __name__ == "__main__":
|
|
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 |
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("Sense mood"),
|
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!"],
|
|
|
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)
|