import gradio as gr | |
README = """ | |
# Movie Review Score Discriminator | |
It is a program that classifies whether it is positive or negative by entering movie reviews. | |
You can choose between the Korean version and the English version. | |
## Usage | |
""" | |
gr.Markdown(README) | |
gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment", | |
inputs=gr.Textbox(lines=5, label="Input Text") | |
).launch() | |