InstaFlow / app.py
XCLiu's picture
Update app.py
22f6cf2
raw
history blame
279 Bytes
import shlex
import subprocess
from huggingface_hub import HfApi
api = HfApi()
api.snapshot_download(repo_id="XCLiu/InstaFlow_hidden", repo_type="space", local_dir=".")
subprocess.run(shlex.split("pip install -r requirements.txt"))
subprocess.run(shlex.split("python app.py"))