salomonsky commited on
Commit
11f9a7a
1 Parent(s): fa706f3

Update app1.py

Browse files
Files changed (1) hide show
  1. app1.py +1 -1
app1.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 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
 
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.jpg --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