Wootang01 commited on
Commit
0932115
1 Parent(s): 824ed3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
- title = "Sentiment Analyzer - BART-Large-MNLI"
4
- description = "Input text and press control + enter. The machine will assign star ratings to the text with 1 star representing negative sentiment and five stars representing positive sentiment."
5
  examples = [["This is the best coffee ever!"], ["This is the worst town I've ever been to!"]]
6
 
7
  gr.Interface.load("huggingface/nlptown/bert-base-multilingual-uncased-sentiment", title=title, description=description, examples=examples).launch()
 
1
  import gradio as gr
2
 
3
+ title = "Sentiment Analyzer 3 -- BART-Large-MNLI"
4
+ description = "Input text and submit. The machine will categorize the text according to star ratings with 1 star representing negative sentiment and five stars representing positive sentiment. The machine also presents a percentage prediction."
5
  examples = [["This is the best coffee ever!"], ["This is the worst town I've ever been to!"]]
6
 
7
  gr.Interface.load("huggingface/nlptown/bert-base-multilingual-uncased-sentiment", title=title, description=description, examples=examples).launch()