Ahsen Khaliq
commited on
Commit
•
56847bb
1
Parent(s):
ecd902f
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ title = "Wav2lip"
|
|
16 |
description = "Gradio demo for Wav2lip: Accurately Lip-syncing Videos In The Wild. To use it, simply upload your image and audio file, or click one of the examples to load them. Read more at the links below. Please trim audio file to maximum of 3-4 seconds"
|
17 |
|
18 |
article = "<p style='text-align: center'><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']]
|
20 |
-
iface = gr.Interface(inference, [gr.inputs.Image(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)
|
|
|
16 |
description = "Gradio demo for Wav2lip: Accurately Lip-syncing Videos In The Wild. To use it, simply upload your image and audio file, or click one of the examples to load them. Read more at the links below. Please trim audio file to maximum of 3-4 seconds"
|
17 |
|
18 |
article = "<p style='text-align: center'><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="file")],
|
21 |
outputs=gr.outputs.Video(label="Output Video"),examples=examples,enable_queue=True,title=title,article=article,description=description)
|
22 |
iface.launch(debug=True)
|