import gradio as gr examples = [["My name is Lewis", "Nima is really cool at"]] gr.Interface.load("huggingface/gpt2", examples=examples)