mirror of
https://www.modelscope.cn/OpenBMB/MiniCPM-o-2_6.git
synced 2025-07-14 18:31:46 +08:00
update
This commit is contained in:
parent
b9e66654a5
commit
1016cda8e0
@ -152,7 +152,7 @@ class MiniCPMO(MiniCPMOPreTrainedModel):
|
||||
tts_text_tokenizer_path = os.path.join(self.config._name_or_path, "assets/chattts_tokenizer")
|
||||
if not os.path.exists(tts_text_tokenizer_path):
|
||||
# try from hf model_id
|
||||
tts_text_tokenizer_path = "bokesyo/chattts_tokenizer"
|
||||
tts_text_tokenizer_path = "openbmb/chattts_tokenizer"
|
||||
|
||||
tts_text_tokenizer = BertTokenizerFast.from_pretrained(tts_text_tokenizer_path)
|
||||
self.tts_processor = ChatTTSProcessor(text_tokenizer=tts_text_tokenizer)
|
||||
|
Loading…
x
Reference in New Issue
Block a user