mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-07 07:02:57 +08:00
fix var local
This commit is contained in:
parent
280d5c617d
commit
b4aaa221a8
@ -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:
|
||||
|
1
webui.py
1
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user