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