Spaces:
Runtime error
Runtime error
Ahsen Khaliq commited on
Commit ·
101a286
1
Parent(s): 41d1a70
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ os.chdir("realworld-stylegan2-encoder")
|
|
| 6 |
os.system("pip install gdown")
|
| 7 |
os.system("pip install dlib")
|
| 8 |
os.system("gdown https://drive.google.com/uc?id=1i873OKcKjvpxiF0UBU4NzxlMMaD9qR5z")
|
|
|
|
| 9 |
|
| 10 |
def inference(image):
|
| 11 |
|
|
|
|
| 6 |
os.system("pip install gdown")
|
| 7 |
os.system("pip install dlib")
|
| 8 |
os.system("gdown https://drive.google.com/uc?id=1i873OKcKjvpxiF0UBU4NzxlMMaD9qR5z")
|
| 9 |
+
os.system("wget https://github.com/kim-ninh/align_face_ffhq/raw/main/shape_predictor_68_face_landmarks.dat -P .")
|
| 10 |
|
| 11 |
def inference(image):
|
| 12 |
|