Hendra Wijaya Djiono commited on
Commit
2a6c323
1 Parent(s): c1de506
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def analyze_sentiment(text):
27
 
28
  # Print the text and its corresponding label
29
  print("Text: " + text + ", Label: " + label)
30
- return label
31
 
32
  demo = gr.Interface(fn=analyze_sentiment, inputs="text", outputs="text")
33
  demo.launch()
 
27
 
28
  # Print the text and its corresponding label
29
  print("Text: " + text + ", Label: " + label)
30
+ return label
31
 
32
  demo = gr.Interface(fn=analyze_sentiment, inputs="text", outputs="text")
33
  demo.launch()