darshankr commited on
Commit
b2ad090
·
verified ·
1 Parent(s): 536d2b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import subprocess
4
  # Function to run Wav2Lip model
5
  def run_wav2lip(video, audio):
6
  # Define the command to run the Wav2Lip model
7
- command = f"python inference.py --face '{video}' --audio '{audio}' --outfile output_result.mp4"
8
 
9
  # Execute the command
10
  subprocess.run(command, shell=True, check=True)
 
4
  # Function to run Wav2Lip model
5
  def run_wav2lip(video, audio):
6
  # Define the command to run the Wav2Lip model
7
+ command = f"python inference.py --checkpoint_path checkpoints/wav2lip_gan.pth --face '{video}' --audio '{audio}' --outfile output_result.mp4"
8
 
9
  # Execute the command
10
  subprocess.run(command, shell=True, check=True)