Spaces:
Runtime error
Runtime error
Commit
•
72d1f18
1
Parent(s):
1a883ee
Update app/hydit_app.py
Browse files- app/hydit_app.py +1 -0
app/hydit_app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
os.makedirs("/home/user/app/ckpts", exist_ok=True)
|
3 |
snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_folder="/home/user/app/ckpts")
|
4 |
|
|
|
1 |
import os
|
2 |
+
from huggingface_hub import snapshot_download
|
3 |
os.makedirs("/home/user/app/ckpts", exist_ok=True)
|
4 |
snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_folder="/home/user/app/ckpts")
|
5 |
|