Aashi1 commited on
Commit
2e32707
·
verified ·
1 Parent(s): 2de9011

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ sentiment =pipeline("sentiment-analysis")
5
  def get_sentiment(input_text):
6
  return sentiment(input_text)
7
 
8
- iface= gr.interface(fn = get_sentiment,
9
  inputs ="text",
10
  outputs =['text'],
11
  title ='Sentiment Analysis',
 
5
  def get_sentiment(input_text):
6
  return sentiment(input_text)
7
 
8
+ iface= gr.Interface(fn = get_sentiment,
9
  inputs ="text",
10
  outputs =['text'],
11
  title ='Sentiment Analysis',