From 2838f335d2b369611700a9b955738a002ba0a0d9 Mon Sep 17 00:00:00 2001 From: ikaros <327209194@qq.com> Date: Tue, 19 Mar 2024 19:06:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgpt-SoVITS=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E8=B7=AF=E5=BE=84=E6=97=A0=E6=B3=95=E4=BF=9D=E5=AD=98=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webui.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webui.py b/webui.py index 5352fcff..1da21c21 100644 --- a/webui.py +++ b/webui.py @@ -419,7 +419,7 @@ def scroll_to_top(): async def sys_cmd(request: Request): try: data_json = await request.json() - logging.info(f'收到数据:{data_json}') + logging.info(f'sys_cmd接口 收到数据:{data_json}') logging.info(f"开始执行 {data_json['type']}命令...") resp_json = {} @@ -477,6 +477,8 @@ async def sys_cmd(request: Request): logging.error(traceback.format_exc()) return {"code": -1, "msg": f"{data_json['type']}执行失败!{e}"} + + """ ./@\] ,@@@@\* \@@^ ,]]] @@ -1517,6 +1519,8 @@ def common_textarea_handle(content): config_data["gpt_sovits"]["prompt_language"] = select_gpt_sovits_prompt_language.value config_data["gpt_sovits"]["language"] = select_gpt_sovits_language.value config_data["gpt_sovits"]["cut"] = select_gpt_sovits_cut.value + config_data["gpt_sovits"]["gpt_model_path"] = input_gpt_sovits_gpt_model_path.value + config_data["gpt_sovits"]["sovits_model_path"] = input_gpt_sovits_sovits_model_path.value config_data["gpt_sovits"]["webtts"]["spk"] = input_gpt_sovits_webtts_spk.value config_data["gpt_sovits"]["webtts"]["lang"] = select_gpt_sovits_webtts_lang.value config_data["gpt_sovits"]["webtts"]["speed"] = input_gpt_sovits_webtts_speed.value