Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| title = "Sentiment Analyzer 3 -- BERT-Base-Multilingual-Uncased-Sentiment" | |
| 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." | |
| examples = [["This is the best coffee ever!"], ["This is the worst town I've ever been to!"]] | |
| gr.Interface.load("huggingface/nlptown/bert-base-multilingual-uncased-sentiment", title=title, description=description, examples=examples).launch() |