import gradio as gr import os gr.Interface.load(f"models/{os.environ['model_id']}", api_key=os.environ["HUGGING_FACE_HUB_TOKEN"]).launch()