File size: 188 Bytes
5fc2544
 
 
 
8f83814
1
2
3
4
5
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();