salomonsky commited on
Commit
34f0edf
1 Parent(s): 392ec9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def generate_output(name, birth_date):
33
  return None, f"No se pudo generar el audio: {str(e)}"
34
 
35
  video_path = "video.mp4"
36
- command = f"python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face face2.png --audio {audio_path} --outfile {video_path} --nosmooth"
37
  process = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
38
  if process.returncode != 0:
39
  error_message = process.stderr
 
33
  return None, f"No se pudo generar el audio: {str(e)}"
34
 
35
  video_path = "video.mp4"
36
+ command = f"python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face face.png --audio {audio_path} --outfile {video_path} --nosmooth"
37
  process = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
38
  if process.returncode != 0:
39
  error_message = process.stderr