Ahsen Khaliq
commited on
Commit
·
e8a130c
1
Parent(s):
b6679b7
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ os.system("gdown https://drive.google.com/uc?id=1eF04jKMLAb9DvzI72m8Akn5ykWf3Eaf
|
|
3 |
os.system("gdown https://drive.google.com/uc?id=14nevG94hNkkwaoK5eJLF1iv78cv5O8fN")
|
4 |
|
5 |
def inference(img, ver):
|
6 |
-
os.system("""python style_transfer_folder.py --size 1024 --ckpt ./
|
7 |
return out
|
8 |
|
9 |
title = "AnimeGANv2"
|
|
|
3 |
os.system("gdown https://drive.google.com/uc?id=14nevG94hNkkwaoK5eJLF1iv78cv5O8fN")
|
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/""")
|
7 |
return out
|
8 |
|
9 |
title = "AnimeGANv2"
|