Spaces:
Build error
Build error
Upload path to pretrained model on SHHQ (#7)
Browse files- Upload path to pretrained model on SHHQ (98acc39bafd230cd52cf9a326903701691e64549)
Co-authored-by: Yuming Jiang <yumingj@users.noreply.huggingface.co>
64 unmodified lines6566676869686970717264 unmodified lines if model_dir.exists(): return token = os.getenv('HF_TOKEN') path = huggingface_hub.hf_hub_download('hysts/Text2Human', 'orig/pretrained_models.zip', path = huggingface_hub.hf_hub_download('yumingj/Text2Human_SSHQ', 'pretrained_models.zip', use_auth_token=token) model_dir.mkdir() with zipfile.ZipFile(path) as f:model.py+2-2