import gradio as gr | |
title="RoBERTa" | |
description="Gradio demo for RoBERTa" | |
examples=[["The goal of life is <mask>."]] | |
gr.Interface.load("huggingface/roberta-base",title=title,description=description,examples=examples).launch(enable_queue=True,cache_examples=True) |