import gradio as gr iface = gr.Interface.load("huggingface/gpt2") iface.launch()