import gradio as gr examples = [["The Moon's orbit around Earth has"], ["There once was a pineapple"]] gr.Interface.load("huggingface/gpt2", title="Mi demo", examples=examples).launch();