salomonsky commited on
Commit
3a9886f
·
verified ·
1 Parent(s): fff3bd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 2"
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: