Spaces:
Running
Running
Upload path to pretrained model on SHHQ
Browse filesI 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.
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('
|
69 |
-
'
|
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:
|