DyrusQZ commited on
Commit
e3b8c0a
·
verified ·
1 Parent(s): a88a982

update model path to 3DAIGC/LHM

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -263,11 +263,11 @@ def _build_model(cfg):
263
 
264
  def launch_pretrained():
265
  from huggingface_hub import snapshot_download, hf_hub_download
266
- hf_hub_download(repo_id="DyrusQZ/LHM_Runtime", repo_type='model', filename='assets.tar', local_dir="./")
267
  os.system("tar -xf assets.tar && rm assets.tar")
268
- hf_hub_download(repo_id="DyrusQZ/LHM_Runtime", repo_type='model', filename='LHM-0.5B.tar', local_dir="./")
269
  os.system("tar -xf LHM-0.5B.tar && rm LHM-0.5B.tar")
270
- hf_hub_download(repo_id="DyrusQZ/LHM_Runtime", repo_type='model', filename='LHM_prior_model.tar', local_dir="./")
271
  os.system("tar -xf LHM_prior_model.tar && rm LHM_prior_model.tar")
272
 
273
  def launch_env_not_compile_with_cuda():
 
263
 
264
  def launch_pretrained():
265
  from huggingface_hub import snapshot_download, hf_hub_download
266
+ hf_hub_download(repo_id="3DAIGC/LHM", repo_type='model', filename='assets.tar', local_dir="./")
267
  os.system("tar -xf assets.tar && rm assets.tar")
268
+ hf_hub_download(repo_id="3DAIGC/LHM", repo_type='model', filename='LHM-0.5B.tar', local_dir="./")
269
  os.system("tar -xf LHM-0.5B.tar && rm LHM-0.5B.tar")
270
+ hf_hub_download(repo_id="3DAIGC/LHM", repo_type='model', filename='LHM_prior_model.tar', local_dir="./")
271
  os.system("tar -xf LHM_prior_model.tar && rm LHM_prior_model.tar")
272
 
273
  def launch_env_not_compile_with_cuda():