Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,12 @@ subprocess.run(
|
|
| 12 |
shell=True,
|
| 13 |
)
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
os.makedirs("/home/user/app/checkpoints", exist_ok=True)
|
| 16 |
from huggingface_hub import snapshot_download
|
| 17 |
snapshot_download(
|
|
|
|
| 12 |
shell=True,
|
| 13 |
)
|
| 14 |
|
| 15 |
+
subprocess.run(
|
| 16 |
+
"pip install huggingface_hub==1.26.4",
|
| 17 |
+
shell=True,
|
| 18 |
+
)
|
| 19 |
+
|
| 20 |
+
|
| 21 |
os.makedirs("/home/user/app/checkpoints", exist_ok=True)
|
| 22 |
from huggingface_hub import snapshot_download
|
| 23 |
snapshot_download(
|