cocktailpeanut commited on
Commit
df9baae
1 Parent(s): dac89d9
Files changed (2) hide show
  1. app.py +2 -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("/home/user/app/ckpts", exist_ok=True)
7
- snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_dir="/home/user/app/ckpts")
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("/home/user/app/ckpts", exist_ok=True)
4
- snapshot_download(repo_id="Tencent-Hunyuan/HunyuanDiT", local_dir="/home/user/app/ckpts")
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