Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
df9baae
1
Parent(s):
dac89d9
localize
Browse files- app.py +2 -2
- app/hydit_app.py +2 -2
app.py
CHANGED
@@ -3,8 +3,8 @@ from huggingface_hub import snapshot_download
|
|
3 |
#import spaces
|
4 |
import torch
|
5 |
torch.jit.script = lambda f: f
|
6 |
-
os.makedirs("
|
7 |
-
snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_dir="
|
8 |
|
9 |
import gradio as gr
|
10 |
import pandas as pd
|
|
|
3 |
#import spaces
|
4 |
import torch
|
5 |
torch.jit.script = lambda f: f
|
6 |
+
os.makedirs("ckpts", exist_ok=True)
|
7 |
+
snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_dir="ckpts")
|
8 |
|
9 |
import gradio as gr
|
10 |
import pandas as pd
|
app/hydit_app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
from huggingface_hub import snapshot_download
|
3 |
-
os.makedirs("
|
4 |
-
snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_dir="
|
5 |
|
6 |
import gradio as gr
|
7 |
import pandas as pd
|
|
|
1 |
import os
|
2 |
from huggingface_hub import snapshot_download
|
3 |
+
os.makedirs("ckpts", exist_ok=True)
|
4 |
+
snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_dir="ckpts")
|
5 |
|
6 |
import gradio as gr
|
7 |
import pandas as pd
|