lprs-jp / app.py
Pan
Implement demo app
16a6b64
raw
history blame contribute delete
349 Bytes
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()