kmn5409 commited on
Commit
cbb00bd
Β·
1 Parent(s): e6c0ed6

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
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'/{name}',
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