yumingj commited on
Commit
98acc39
1 Parent(s): 41ba85c

Upload path to pretrained model on SHHQ

Browse files

I train a new model with a more diverse dataset. I have changed the path here: https://huggingface.co/spaces/CVPR/Text2Human. I don't have the permission to change your space, so I open this pull request.

Files changed (1) hide show
  1. model.py +2 -2
model.py CHANGED
@@ -65,8 +65,8 @@ class Model:
65
  if model_dir.exists():
66
  return
67
  token = os.getenv('HF_TOKEN')
68
- path = huggingface_hub.hf_hub_download('hysts/Text2Human',
69
- 'orig/pretrained_models.zip',
70
  use_auth_token=token)
71
  model_dir.mkdir()
72
  with zipfile.ZipFile(path) as f:
65
  if model_dir.exists():
66
  return
67
  token = os.getenv('HF_TOKEN')
68
+ path = huggingface_hub.hf_hub_download('yumingj/Text2Human_SSHQ',
69
+ 'pretrained_models.zip',
70
  use_auth_token=token)
71
  model_dir.mkdir()
72
  with zipfile.ZipFile(path) as f: