import gradio as gr from huggingface_hub import hf_hub_download import os import sys app_path = hf_hub_download(repo_id=os.environ["HF_APP_REPO_ID"], filename="jlpr_app.py", token=os.environ["HF_TOKEN"]) sys.path.append(os.path.split(app_path)[0]) import jlpr_app # noqa jlpr_app.launch()