Commit ·
39ecab3
1
Parent(s): 80691d3
Update app.py
Browse files50 unmodified lines5152535455565750 unmodified linesos.system('mkdir temp')img.save("temp/image.jpg", "JPEG")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' --cpu")return './temp/result.mp4'50 unmodified lines5152535455565750 unmodified linesos.system('mkdir temp')img.save("temp/image.jpg", "JPEG")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'")return './temp/result.mp4'
app.py+1-1