Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1011,12 +1011,15 @@ imagenet_classes = {
|
|
1011 |
999: "toilet tissue, toilet paper, bathroom tissue",
|
1012 |
}
|
1013 |
|
1014 |
-
hf_hub_download(repo_id="brownvc/BaselineGAN-FFHQ-256x256", filename="network-snapshot-final.pkl", local_dir="ffhq-256x256.pkl")
|
1015 |
-
hf_hub_download(repo_id="brownvc/BaselineGAN-ImgNet-64x64-v0", filename="network-snapshot-final.pkl", local_dir="ImgNet-64x64-v0.pkl")
|
|
|
|
|
|
|
1016 |
|
1017 |
# Configuration
|
1018 |
networks = {
|
1019 |
-
"FFHQ (Faces)
|
1020 |
"path": "ffhq-256x256.pkl",
|
1021 |
"G": None,
|
1022 |
"conditional": False
|
|
|
1011 |
999: "toilet tissue, toilet paper, bathroom tissue",
|
1012 |
}
|
1013 |
|
1014 |
+
path_ffhq = hf_hub_download(repo_id="brownvc/BaselineGAN-FFHQ-256x256", filename="network-snapshot-final.pkl", local_dir="ffhq-256x256.pkl")
|
1015 |
+
path_imgnet = hf_hub_download(repo_id="brownvc/BaselineGAN-ImgNet-64x64-v0", filename="network-snapshot-final.pkl", local_dir="ImgNet-64x64-v0.pkl")
|
1016 |
+
|
1017 |
+
print(path_ffhq)
|
1018 |
+
print(path_imgnet)
|
1019 |
|
1020 |
# Configuration
|
1021 |
networks = {
|
1022 |
+
"FFHQ (Faces) 256px": {
|
1023 |
"path": "ffhq-256x256.pkl",
|
1024 |
"G": None,
|
1025 |
"conditional": False
|