import gradio as gr iface = gr.Interface.load(name="gpt2", source="models") iface.launch()