Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,13 +13,12 @@ app_examples = [
|
|
| 13 |
]
|
| 14 |
|
| 15 |
inputs = [
|
| 16 |
-
gr.Textbox(
|
| 17 |
-
|
| 18 |
]
|
| 19 |
|
| 20 |
iface = gr.Interface(fn=get_sentiment,
|
| 21 |
inputs=inputs,
|
| 22 |
-
outputs="
|
| 23 |
title='Sentiment Analysis',
|
| 24 |
description='Obtenha o sentimento do texto digitado π|π ',
|
| 25 |
example= app_examples
|
|
|
|
| 13 |
]
|
| 14 |
|
| 15 |
inputs = [
|
| 16 |
+
gr.Textbox(value=app_examples[0][0]),
|
|
|
|
| 17 |
]
|
| 18 |
|
| 19 |
iface = gr.Interface(fn=get_sentiment,
|
| 20 |
inputs=inputs,
|
| 21 |
+
outputs=["text"],
|
| 22 |
title='Sentiment Analysis',
|
| 23 |
description='Obtenha o sentimento do texto digitado π|π ',
|
| 24 |
example= app_examples
|