Ahsen Khaliq
commited on
Commit
·
f725fa9
1
Parent(s):
e8a130c
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
-
os.system("gdown https://drive.google.com/uc?id=
|
3 |
-
os.system("gdown https://drive.google.com/uc?id=
|
4 |
|
5 |
def inference(img, ver):
|
6 |
os.system("""python style_transfer_folder.py --size 1024 --ckpt ./blendgan.pt --psp_encoder_ckpt ./psp_encoder.pt --style_img_path /content/BlendGAN/style/ --input_img_path /content/BlendGAN/input/ --outdir results/style_transfer/""")
|
|
|
1 |
import os
|
2 |
+
os.system("gdown https://drive.google.com/uc?id=12ElLliRlgGZqPOhUcqJtNVsa7rmzSI5L")
|
3 |
+
os.system("gdown https://drive.google.com/uc?id=1-79oBWGFQXrKYw9oxX7t468Zrp87NoWn")
|
4 |
|
5 |
def inference(img, ver):
|
6 |
os.system("""python style_transfer_folder.py --size 1024 --ckpt ./blendgan.pt --psp_encoder_ckpt ./psp_encoder.pt --style_img_path /content/BlendGAN/style/ --input_img_path /content/BlendGAN/input/ --outdir results/style_transfer/""")
|