We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72c0eca commit ec7647eCopy full SHA for ec7647e
GPT_SoVITS/TTS_infer_pack/TTS.py
@@ -844,6 +844,7 @@ def make_batch(batch_texts):
844
self.vits_model = None
845
self.init_t2s_weights(self.configs.t2s_weights_path)
846
self.init_vits_weights(self.configs.vits_weights_path)
847
+ raise e
848
finally:
849
self.empty_cache()
850
GPT_SoVITS/TTS_infer_pack/text_segmentation_method.py
@@ -16,6 +16,9 @@ def get_method(name:str)->Callable:
16
raise ValueError(f"Method {name} not found")
17
return method
18
19
+def get_method_names()->list:
20
+ return list(METHODS.keys())
21
+
22
def register_method(name):
23
def decorator(func):
24
METHODS[name] = func
0 commit comments