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-base", inputs=gr.inputs.Textbox(lines=5), description=description, article=article, analytics_enabled=False, examples=[ ["Life is like a box of "], ["The capital of France is "] ]).launch()