Bugfix and new auto generated webui #120
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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').
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.