Spaces:
Runtime error
Runtime error
add gradio prompts (example input)
Browse files
app.py
CHANGED
|
@@ -12,6 +12,12 @@ if __name__ == "__main__":
|
|
| 12 |
inputs = "text",
|
| 13 |
outputs = ['text'],
|
| 14 |
title = 'Sentiment Analysis',
|
| 15 |
-
description = 'Get Sentiment Negative/positive for the given input'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
)
|
| 17 |
iface.launch(inline = False)
|
|
|
|
| 12 |
inputs = "text",
|
| 13 |
outputs = ['text'],
|
| 14 |
title = 'Sentiment Analysis',
|
| 15 |
+
description = 'Get Sentiment Negative/positive for the given input',
|
| 16 |
+
examples=[
|
| 17 |
+
["This is better than nothing."],
|
| 18 |
+
["This is better than a kick in the face. Guess you can't look a gift horse in the mouth."],
|
| 19 |
+
["I'd rather have root canal than experience this again."],
|
| 20 |
+
["They seem to have a bias as all the people working at the reception look exactly the same."],
|
| 21 |
+
],
|
| 22 |
)
|
| 23 |
iface.launch(inline = False)
|