Skip to content

Commit d937efa

Browse files
authored
fix finetune_gradio.py, not to force lower case
1 parent 8975fca commit d937efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/f5_tts/train/finetune_gradio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ def vocab_check(project_name, tokenizer_type):
11271127
if len(sp) != 2:
11281128
continue
11291129

1130-
text = sp[1].lower().strip()
1130+
text = sp[1].strip()
11311131
if tokenizer_type == "pinyin":
11321132
text = convert_char_to_pinyin([text], polyphone=True)[0]
11331133

0 commit comments

Comments
 (0)