Update app.py
Browse files
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.
|
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',
|