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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def human_response(source_image, history, question_audio, talker_method, voice,
gr.Warning("不支持的方法:" + talker_method)
return None

return video, driven_vtt if driven_vtt else video
return video


@calculate_time
Expand Down Expand Up @@ -364,7 +364,7 @@ def MuseTalker_response(source_video, bbox_shift, question_audio, text, voice,
# MuseTalker 视频生成
video = musetalker.inference_noprepare(driven_audio, source_video, bbox_shift, batch_size, fps=25)

return video, driven_vtt if driven_vtt else video
return video

GPT_SoVITS_ckpt = "GPT_SoVITS/pretrained_models"
def load_vits_model(gpt_path, sovits_path, progress=gr.Progress(track_tqdm=True)):
Expand Down
Loading