multimodalart HF staff commited on
Commit
1a883ee
1 Parent(s): 8a09a62

Update app/hydit_app.py

Browse files
Files changed (1) hide show
  1. app/hydit_app.py +4 -0
app/hydit_app.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  import gradio as gr
2
  import pandas as pd
3
  from pathlib import Path
 
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
+
5
  import gradio as gr
6
  import pandas as pd
7
  from pathlib import Path