wiraindrak commited on
Commit
b9ea11e
·
1 Parent(s): af8323b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ examples = [
16
 
17
  def sentiment_analysis(text):
18
  output = sentiment(text)
19
- return output
20
 
21
  demo = gr.Interface(
22
  fn=sentiment_analysis,
 
16
 
17
  def sentiment_analysis(text):
18
  output = sentiment(text)
19
+ return output[0]
20
 
21
  demo = gr.Interface(
22
  fn=sentiment_analysis,