File size: 154 Bytes
cab93f0
 
1fbffcb
cab93f0
1
2
3
4
import gradio as gr

iface = gr.Interface.load("huggingface/gpt2", inputs=[gr.Textbox(lines=3)], examples=[["Hi my name is Dawood and I"]])
iface.launch()