change repo
Browse files
app.py
CHANGED
@@ -7,6 +7,6 @@ from huggingface_hub import HfApi
|
|
7 |
hf_token = os.getenv("LSM_token")
|
8 |
|
9 |
api = HfApi()
|
10 |
-
api.snapshot_download(repo_id="kairunwen/
|
11 |
subprocess.run(shlex.split("pip install -r requirements.txt"))
|
12 |
subprocess.run(shlex.split("python app.py"))
|
|
|
7 |
hf_token = os.getenv("LSM_token")
|
8 |
|
9 |
api = HfApi()
|
10 |
+
api.snapshot_download(repo_id="kairunwen/LSM_private", repo_type="space", local_dir=".", token=hf_token)
|
11 |
subprocess.run(shlex.split("pip install -r requirements.txt"))
|
12 |
subprocess.run(shlex.split("python app.py"))
|