akhaliq HF staff commited on
Commit
8c1f78c
·
1 Parent(s): bfafe88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ module = hub.Module(name="wav2lip")
8
  def inference(image,audio):
9
  face_input_path = image
10
  audio_input_path = audio
11
- module.wav2lip_transfer(face=face_input_path, audio=audio_input_path, output_dir='.', use_gpu=True)
12
  return "result.mp4"
13
 
14
  title = "Wav2lip"
 
8
  def inference(image,audio):
9
  face_input_path = image
10
  audio_input_path = audio
11
+ module.wav2lip_transfer(face=face_input_path, audio=audio_input_path, output_dir='.', use_gpu=False)
12
  return "result.mp4"
13
 
14
  title = "Wav2lip"