Spaces:
Running
on
Zero
Running
on
Zero
update model path to 3DAIGC/LHM
Browse files
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="
|
| 267 |
os.system("tar -xf assets.tar && rm assets.tar")
|
| 268 |
-
hf_hub_download(repo_id="
|
| 269 |
os.system("tar -xf LHM-0.5B.tar && rm LHM-0.5B.tar")
|
| 270 |
-
hf_hub_download(repo_id="
|
| 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():
|