Wootang01's picture
Update app.py
0932115
raw
history blame
No virus
558 Bytes
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()