From b4aaa221a822d283517304278aa7973b9a372b87 Mon Sep 17 00:00:00 2001 From: jax Date: Sun, 18 Feb 2024 14:14:04 +0800 Subject: [PATCH] fix var local --- train_base.py | 1 - webui.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/train_base.py b/train_base.py index 1c3d5866..73472932 100644 --- a/train_base.py +++ b/train_base.py @@ -116,7 +116,6 @@ def change_choices(): p_label=None p_uvr5=None p_asr=None -p_tts_inference=None def kill_proc_tree(pid, including_parent=True): try: diff --git a/webui.py b/webui.py index 0f3f89fb..df7822c0 100644 --- a/webui.py +++ b/webui.py @@ -8,6 +8,7 @@ from tools.asr.config import asr_dict from config import python_exec,infer_device,is_half,exp_root,webui_port_main,webui_port_infer_tts,webui_port_uvr5,webui_port_subfix,is_share from subprocess import Popen +p_tts_inference=None def change_tts_inference(if_tts,bert_path,cnhubert_base_path,gpu_number,gpt_path,sovits_path): global p_tts_inference if(if_tts==True and p_tts_inference==None):