import gradio as gr title = "FlauBERT" description = "Gradio Demo for FlauBERT. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "

FlauBERT: Unsupervised Language Model Pre-training for French

" examples = [ ["Paris est la de la France."] ] gr.Interface.load("huggingface/flaubert/flaubert_small_cased", inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,description=description,article=article, examples=examples).launch(enable_queue=True)