aliabd HF staff commited on
Commit
8ec0f81
1 Parent(s): d622542

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,6 +17,6 @@ description = "Gradio demo for Wav2lip: Accurately Lip-syncing Videos In The Wil
17
 
18
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2008.10010' target='_blank'>A Lip Sync Expert Is All You Need for Speech to Lip Generation In The Wild</a> | <a href='https://github.com/PaddlePaddle/PaddleGAN/blob/develop/docs/en_US/tutorials/wav2lip.md' target='_blank'>Github Repo</a></p>"
19
  examples=[['monatest.jpeg',"game.wav"]]
20
- iface = gr.Interface(inference, [gr.inputs.Image(type="filepath"),gr.inputs.Audio(source="microphone", type="filepath")],
21
  outputs=gr.outputs.Video(label="Output Video"),examples=examples,enable_queue=True,title=title,article=article,description=description)
22
  iface.launch(debug=True)
 
17
 
18
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2008.10010' target='_blank'>A Lip Sync Expert Is All You Need for Speech to Lip Generation In The Wild</a> | <a href='https://github.com/PaddlePaddle/PaddleGAN/blob/develop/docs/en_US/tutorials/wav2lip.md' target='_blank'>Github Repo</a></p>"
19
  examples=[['monatest.jpeg',"game.wav"]]
20
+ iface = gr.Interface(inference, [gr.inputs.Image(type="filepath"),gr.inputs.Audio(source="upload", type="filepath")],
21
  outputs=gr.outputs.Video(label="Output Video"),examples=examples,enable_queue=True,title=title,article=article,description=description)
22
  iface.launch(debug=True)