Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
|
@@ -34,7 +34,7 @@ def _update_model_dict_if_hf_token_is_given(
|
|
| 34 |
for dic in model_dict.values():
|
| 35 |
ckpt_path = dic['model']
|
| 36 |
name = ckpt_path.split('/')[-1]
|
| 37 |
-
ckpt_path = huggingface_hub.hf_hub_download('kmn5409/
|
| 38 |
f'models/{name}',
|
| 39 |
use_auth_token=token)
|
| 40 |
dic['model'] = ckpt_path
|
|
|
|
| 34 |
for dic in model_dict.values():
|
| 35 |
ckpt_path = dic['model']
|
| 36 |
name = ckpt_path.split('/')[-1]
|
| 37 |
+
ckpt_path = huggingface_hub.hf_hub_download('kmn5409/Flower_Model',
|
| 38 |
f'models/{name}',
|
| 39 |
use_auth_token=token)
|
| 40 |
dic['model'] = ckpt_path
|