Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
title = "Sentiment Analyzer
|
4 |
-
description = "Input text and
|
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()
|