Spaces:
Running
Running
Commit
·
6d1a1e9
1
Parent(s):
68f7a9b
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def generate_output(name, horoscope_type, birth_date):
|
|
33 |
except Exception as e:
|
34 |
return None, f"No se pudo generar el audio: {str(e)}"
|
35 |
|
36 |
-
command = f"python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face face2.
|
37 |
process = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
38 |
if process.returncode != 0:
|
39 |
error_message = process.stderr.decode("utf-8")
|
|
|
33 |
except Exception as e:
|
34 |
return None, f"No se pudo generar el audio: {str(e)}"
|
35 |
|
36 |
+
command = f"python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face face2.png --audio audio.wav --outfile video.mp4 --nosmooth"
|
37 |
process = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
38 |
if process.returncode != 0:
|
39 |
error_message = process.stderr.decode("utf-8")
|