Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix and new auto generated webui #120

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Marstaos
Copy link

@Marstaos Marstaos commented Dec 1, 2024

bugfix

In the current version of Linky-Talk, an error occurs when directly uploading a custom video and attempting to generate the output due to a driven_vtt value being passed. This branch fixes this issue, allowing the generated video to be displayed normally in the web UI.
Fixed the error:
ValueError: Invalid value for parameter subtitle: ./results/avatars/teacher1_pro/vid_output/res.mp4. Please select a file with one of the following extensions: ('.srt', '.vtt').
bug

new auto generate webui

Additionally, in the original version of webui.py, the “musetalk real-time dialogue” page required users to manually click a recognition button after recording their voice, and then click another button to generate the video after the speech was transcribed into text. This multi-step process was cumbersome. I have created a new file, webui_auto_gen_musetalk.py, which improves upon webui.py by automating the speech recognition and video generation process immediately following the completion of the recording. This enhancement streamlines the interaction, making it more closely resemble a genuine chat scenario.
image

… subtitle: ./results/avatars/teacher1_pro/vid_output/res.mp4. Please ensure the file has one of the following extensions: (‘.srt’, ‘.vtt’).”
@Marstaos Marstaos marked this pull request as draft December 1, 2024 02:08
@Marstaos Marstaos marked this pull request as ready for review December 1, 2024 03:14
@Marstaos Marstaos marked this pull request as draft December 1, 2024 03:35
@Marstaos Marstaos changed the title BugFix:Fixed the bug causing "ValueError" Bugfix and new auto generate webui Dec 1, 2024
@Marstaos Marstaos marked this pull request as ready for review December 1, 2024 03:45
@Marstaos Marstaos changed the title Bugfix and new auto generate webui Bugfix and new auto generated webui Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant