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