Ahsen Khaliq
commited on
Commit
·
d658d2a
1
Parent(s):
cf36d73
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
from PIL import Image
|
4 |
-
|
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")
|
|
|
1 |
import os
|
2 |
import gradio as gr
|
3 |
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")
|