Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,13 +17,12 @@ inputs = [
|
|
| 17 |
|
| 18 |
]
|
| 19 |
|
| 20 |
-
label = gr.outputs.Label()
|
| 21 |
iface = gr.Interface(fn=get_sentiment,
|
| 22 |
inputs=inputs,
|
| 23 |
-
outputs=
|
| 24 |
title='Sentiment Analysis',
|
| 25 |
description='Obtenha o sentimento do texto digitado π|π ',
|
| 26 |
example= app_examples
|
| 27 |
)
|
| 28 |
|
| 29 |
-
iface.launch(
|
|
|
|
| 17 |
|
| 18 |
]
|
| 19 |
|
|
|
|
| 20 |
iface = gr.Interface(fn=get_sentiment,
|
| 21 |
inputs=inputs,
|
| 22 |
+
outputs="textbox",
|
| 23 |
title='Sentiment Analysis',
|
| 24 |
description='Obtenha o sentimento do texto digitado π|π ',
|
| 25 |
example= app_examples
|
| 26 |
)
|
| 27 |
|
| 28 |
+
iface.launch()
|