import gradio as gr gr.Interface.load("models/EleutherAI/gpt-j-6B", max_length=10000).launch()