Spaces:
Runtime error
Runtime error
import gradio as gr | |
title = "Sentiment Analyzer 3 -- BART-Large-MNLI" | |
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() |