Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,8 @@ demo = gr.Interface(
|
|
| 19 |
fn=sentiment_analysis,
|
| 20 |
inputs=gr.Textbox(placeholder="Enter a positive or negative sentence here..."),
|
| 21 |
outputs="label",
|
| 22 |
-
interpretation="default"
|
|
|
|
| 23 |
|
| 24 |
# launch
|
| 25 |
demo.launch()
|
|
|
|
| 19 |
fn=sentiment_analysis,
|
| 20 |
inputs=gr.Textbox(placeholder="Enter a positive or negative sentence here..."),
|
| 21 |
outputs="label",
|
| 22 |
+
interpretation="default",
|
| 23 |
+
examples=[["This is wonderful!"]])
|
| 24 |
|
| 25 |
# launch
|
| 26 |
demo.launch()
|