Spaces:
Runtime error
Runtime error
Commit
·
9b8a04e
1
Parent(s):
b9ea11e
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,8 +21,7 @@ def sentiment_analysis(text):
|
|
| 21 |
demo = gr.Interface(
|
| 22 |
fn=sentiment_analysis,
|
| 23 |
inputs=gr.Textbox(placeholder="Enter a sentence here..."),
|
| 24 |
-
outputs="label",
|
| 25 |
-
interpretation="default",
|
| 26 |
examples=[examples])
|
| 27 |
|
| 28 |
if __name__ == "__main__":
|
|
|
|
| 21 |
demo = gr.Interface(
|
| 22 |
fn=sentiment_analysis,
|
| 23 |
inputs=gr.Textbox(placeholder="Enter a sentence here..."),
|
| 24 |
+
outputs="label",
|
|
|
|
| 25 |
examples=[examples])
|
| 26 |
|
| 27 |
if __name__ == "__main__":
|