diff --git a/GPT_SoVITS/text/symbols.py b/GPT_SoVITS/text/symbols.py index 7049949..b85c57a 100644 --- a/GPT_SoVITS/text/symbols.py +++ b/GPT_SoVITS/text/symbols.py @@ -398,4 +398,5 @@ arpa = { symbols = [pad] + c + v + ja_symbols + pu_symbols + list(arpa) symbols = sorted(set(symbols)) if __name__ == "__main__": + print(symbols) print(len(symbols)) diff --git a/Ref_Audio_Selector/ui_init/init_ui_param.py b/Ref_Audio_Selector/ui_init/init_ui_param.py index 75cf110..87367bb 100644 --- a/Ref_Audio_Selector/ui_init/init_ui_param.py +++ b/Ref_Audio_Selector/ui_init/init_ui_param.py @@ -108,9 +108,9 @@ def init_first(): text_sample_dir_default = common.check_path_existence_and_return( os.path.join(base_dir_default, params.list_to_convert_reference_audio_dir)) - slider_subsection_num_default = empty_default(rw_param.read(rw_param.subsection_num), 5) + slider_subsection_num_default = int(empty_default(rw_param.read(rw_param.subsection_num), 10)) - slider_sample_num_default = empty_default(rw_param.read(rw_param.sample_num), 4) + slider_sample_num_default = (empty_default(rw_param.read(rw_param.sample_num), 4)) def init_second():