WheelPulseFree / app.py
Spintillyouwinwheelpulsepro's picture
Update app.py
9127ee9 verified
Raw
History Blame Contribute Delete
368 Bytes
from huggingface_hub import login, hf_hub_download
import os
import sys
login(token=os.environ.get("HF_TOKEN"))
repo_id = "Spintillyouwinwheelpulsepro/WheelPulseFree"
for file in ["app.py", "roulette_data.py"]:
hf_hub_download(repo_id=repo_id, filename=file, repo_type="model", local_dir=".")
sys.path.append(".")
import roulette_data
exec(open("app.py").read())