Ahsen Khaliq
commited on
Commit
•
469f5eb
1
Parent(s):
d658d2a
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
os.system('pip install dlib')
|
5 |
os.system("wget https://www.dropbox.com/s/fgupbov77x4rrru/blendgan.pt")
|
6 |
os.system("wget https://www.dropbox.com/s/v8q0dd3r4u20659/psp_encoder.pt")
|
7 |
-
os.system("wget https://github.com/kim-ninh/align_face_ffhq/raw/main/shape_predictor_68_face_landmarks.dat")
|
8 |
|
9 |
from ffhq_dataset.gen_aligned_image import FaceAlign
|
10 |
|
|
|
4 |
os.system('pip install dlib')
|
5 |
os.system("wget https://www.dropbox.com/s/fgupbov77x4rrru/blendgan.pt")
|
6 |
os.system("wget https://www.dropbox.com/s/v8q0dd3r4u20659/psp_encoder.pt")
|
7 |
+
os.system("wget https://github.com/kim-ninh/align_face_ffhq/raw/main/shape_predictor_68_face_landmarks.dat -P /home/user/app/ffhq_dataset/")
|
8 |
|
9 |
from ffhq_dataset.gen_aligned_image import FaceAlign
|
10 |
|