Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def generate_output(prompt):
|
|
27 |
return None, f"No se pudo generar el audio: {str(e)}"
|
28 |
|
29 |
video_path = "video.mp4"
|
30 |
-
command = f"CUDA_VISIBLE_DEVICES='' python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face face.jpg --audio {audio_path} --outfile {video_path} --nosmooth --resize_factor
|
31 |
process = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
32 |
|
33 |
if process.returncode != 0:
|
|
|
27 |
return None, f"No se pudo generar el audio: {str(e)}"
|
28 |
|
29 |
video_path = "video.mp4"
|
30 |
+
command = f"CUDA_VISIBLE_DEVICES='' python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face face.jpg --audio {audio_path} --outfile {video_path} --nosmooth --resize_factor 4"
|
31 |
process = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
|
32 |
|
33 |
if process.returncode != 0:
|