Commit
·
39ecab3
1
Parent(s):
80691d3
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def inference(img,vid):
|
|
| 51 |
os.system('mkdir temp')
|
| 52 |
|
| 53 |
img.save("temp/image.jpg", "JPEG")
|
| 54 |
-
os.system(f"python demo.py --config config/vox-256.yaml --checkpoint ./checkpoints/vox.pth.tar --source_image 'temp/image.jpg' --driving_video {vid} --result_video './temp/result.mp4'
|
| 55 |
return './temp/result.mp4'
|
| 56 |
|
| 57 |
|
|
|
|
| 51 |
os.system('mkdir temp')
|
| 52 |
|
| 53 |
img.save("temp/image.jpg", "JPEG")
|
| 54 |
+
os.system(f"python demo.py --config config/vox-256.yaml --checkpoint ./checkpoints/vox.pth.tar --source_image 'temp/image.jpg' --driving_video {vid} --result_video './temp/result.mp4'")
|
| 55 |
return './temp/result.mp4'
|
| 56 |
|
| 57 |
|