mirror of
https://github.com/SWivid/F5-TTS.git
synced 2025-12-05 20:40:12 -08:00
fix finetune_gradio.py, not to force lower case
This commit is contained in:
@@ -1127,7 +1127,7 @@ def vocab_check(project_name, tokenizer_type):
|
||||
if len(sp) != 2:
|
||||
continue
|
||||
|
||||
text = sp[1].lower().strip()
|
||||
text = sp[1].strip()
|
||||
if tokenizer_type == "pinyin":
|
||||
text = convert_char_to_pinyin([text], polyphone=True)[0]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user