Mulya commited on
Commit
356ee31
1 Parent(s): 15b3e56
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from transformers import pipeline
4
  sentiment = pipeline('sentiment-analysis')
5
 
6
  def get_sentiment(input_text):
7
- return sentiment(input_text)
8
 
9
  iface = gr.Interface(fn = get_sentiment,
10
  inputs = "text",
 
4
  sentiment = pipeline('sentiment-analysis')
5
 
6
  def get_sentiment(input_text):
7
+ return sentiment(input_text)
8
 
9
  iface = gr.Interface(fn = get_sentiment,
10
  inputs = "text",