Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
c1103a3
1
Parent(s):
19525a4
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ os.system("wget https://github.com/kim-ninh/align_face_ffhq/raw/main/shape_predi
|
|
10 |
os.system("wget https://i.imgur.com/dJVNQSF.jpg -O ./mona.jpg")
|
11 |
|
12 |
def inference(image):
|
13 |
-
os.system("python scripts/test.py --ckpt ./e4e_encode_mobile_cartoon.pt --network e4e --platform torch --size 1024 --images_path "+image.name)
|
14 |
return "out.png"
|
15 |
|
16 |
title = "Encoder4editing"
|
|
|
10 |
os.system("wget https://i.imgur.com/dJVNQSF.jpg -O ./mona.jpg")
|
11 |
|
12 |
def inference(image):
|
13 |
+
os.system("python scripts/test.py --align --ckpt ./e4e_encode_mobile_cartoon.pt --network e4e --platform torch --size 1024 --images_path "+image.name)
|
14 |
return "out.png"
|
15 |
|
16 |
title = "Encoder4editing"
|