Skip to content

deerleo/wav2lip-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Wav2Lip Interface

This is a web interface for PaddleGAN's Wav2Lip model, built using the Gradio library. The interface allows you to upload a video and an audio file to generate a lip-synced video.

Installation

  1. Clone the repository: git clone https://github.com/deerleo/wav2lip-webui.git

  2. Navigate to the project directory: cd wav2lip-webui

  3. Install the required dependencies: pip install gradio paddlepaddle paddlehub opencv-python ppgan

Make sure you have PaddlePaddle and PaddleHub installed properly.

Usage

  1. Run the following command to start the interface:

python webui.py

  1. Open your web browser and visit http://localhost:9870.

  2. In the interface, click on the "Choose File" button in the "Video" section to upload a video file. The video file should be in a common video format, such as MP4 or AVI.

  3. Similarly, click on the "Choose File" button in the "Audio" section to upload an audio file. The audio file should be in a format supported by the Wav2Lip model.

  4. After selecting the video and audio files, click on the "Submit" button to start the lip-syncing process.

  5. The interface will process the files using the Wav2Lip model and display the synthesized video.

  6. You can click on the "Download" button to save the synthesized video to your local machine.

Customize

If you want to customize the code or make any modifications, you can do so in the app.py file. You can modify the interface layout, add additional input fields, or change the styling as per your requirements.

License

This project is licensed under the MIT License.

Author

The Author is Leo Lu(AKA Deer Leo / 小鹿哥), feel free to contact deer leo at l#ll.works.

About

Provide a wav2lip web ui interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages