Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,12 @@ import traceback
|
|
14 |
from huggingface_hub import hf_hub_download
|
15 |
|
16 |
HF_DATASET_REPO = "roll-ai/FloVD-weights" # dataset repo ID
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
18 |
def download_weights():
|
19 |
print("π Downloading model weights via huggingface_hub...")
|
20 |
for rel_path in WEIGHT_FILES.values():
|
|
|
14 |
from huggingface_hub import hf_hub_download
|
15 |
|
16 |
HF_DATASET_REPO = "roll-ai/FloVD-weights" # dataset repo ID
|
17 |
+
WEIGHT_FILES = {
|
18 |
+
"FVSM/FloVD_FVSM_Controlnet.pt": "FVSM/FloVD_FVSM_Controlnet.pt",
|
19 |
+
"OMSM/selected_blocks.safetensors": "OMSM/selected_blocks.safetensors",
|
20 |
+
"OMSM/pytorch_lora_weights.safetensors": "OMSM/pytorch_lora_weights.safetensors",
|
21 |
+
"others/depth_anything_v2_metric_hypersim_vitb.pth": "others/depth_anything_v2_metric_hypersim_vitb.pth"
|
22 |
+
}
|
23 |
def download_weights():
|
24 |
print("π Downloading model weights via huggingface_hub...")
|
25 |
for rel_path in WEIGHT_FILES.values():
|