Spaces:
Runtime error
Runtime error
first commit
Browse files- annotator/midas/api.py +1 -1
annotator/midas/api.py
CHANGED
@@ -31,7 +31,7 @@ ISL_PATHS = {
|
|
31 |
}
|
32 |
|
33 |
# remote_model_path = "https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/dpt_hybrid-midas-501f0c75.pt"
|
34 |
-
remote_model_path = "https://
|
35 |
|
36 |
def disabled_train(self, mode=True):
|
37 |
"""Overwrite model.train with this function to make sure train/eval mode
|
|
|
31 |
}
|
32 |
|
33 |
# remote_model_path = "https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/dpt_hybrid-midas-501f0c75.pt"
|
34 |
+
remote_model_path = "https://storage.googleapis.com/sfr-unicontrol-data-research/annotator/ckpts/dpt_large_384.pt" #"https://huggingface.co/Salesforce/UniControl/blob/main/annotator/ckpts/dpt_large_384.pt"
|
35 |
|
36 |
def disabled_train(self, mode=True):
|
37 |
"""Overwrite model.train with this function to make sure train/eval mode
|