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 """ # with gr.Blocks() as demo: # gr.Markdown(README) # with gr.Tab("Korean version"): # gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment").launch() # with gr.Tab("English version"): # gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment").launch() # demo.launch() gr.Interface.load("models/cardiffnlp/twitter-roberta-base-sentiment").launch()