import gradio as gr description = "Gradio demo for Roberta, A Robustly Optimized BERT Pretraining Approach. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "

RoBERTa: A Robustly Optimized BERT Pretraining Approach | Github Repo

" gr.Interface.load("huggingface/roberta-large", inputs=gr.inputs.Textbox(lines=5,label="Input Text"), description=description, article=article,examples=[ ["Life is like a box of "], ["The capital of France is "] ]).launch()