mafoaurelie
commited on
Commit
•
fae33ea
1
Parent(s):
2b6e329
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def get_sentiment(input_text):
|
|
8 |
result=texte[0]['label']
|
9 |
return result
|
10 |
|
11 |
-
|
12 |
inputs='text',
|
13 |
outputs='text',
|
14 |
description='Get Sentiment Negative/Positive for giving input').launch()
|
|
|
8 |
result=texte[0]['label']
|
9 |
return result
|
10 |
|
11 |
+
iface=gr.Interface(title='Sentiment Analysis',fn=get_sentiment,
|
12 |
inputs='text',
|
13 |
outputs='text',
|
14 |
description='Get Sentiment Negative/Positive for giving input').launch()
|