File size: 189 Bytes
45b42ba
 
 
 
 
1
2
3
4
5
6
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();