pragnakalp commited on
Commit
9f9e12c
1 Parent(s): de4efa8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def run_infrence(input_image,input_audio):
41
  #Save input audio
42
  save_audio_mp3(input_audio, "sample_data/uploaded_audio.mp3")
43
 
44
- command = f'python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face sample_data/spark_input.mp4 --audio sample_data/uploaded_audio.mp3'
45
  process = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True)
46
  output, error = process.communicate()
47
 
 
41
  #Save input audio
42
  save_audio_mp3(input_audio, "sample_data/uploaded_audio.mp3")
43
 
44
+ command = f'python3 inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face sample_data/uploaded_image.png --audio sample_data/uploaded_audio.mp3'
45
  process = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True)
46
  output, error = process.communicate()
47