tclopess commited on
Commit
b5ebbe6
Β·
verified Β·
1 Parent(s): f3ecf12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
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=label,
24
  title='Sentiment Analysis',
25
  description='Obtenha o sentimento do texto digitado πŸ˜„|😠',
26
  example= app_examples
27
  )
28
 
29
- iface.launch(inline=False)
 
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()