File tree 2 files changed +2
-2
lines changed
GPT_SoVITS/TTS_infer_pack
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -749,7 +749,7 @@ def make_batch(batch_texts):
749
749
if no_prompt_text :
750
750
prompt = None
751
751
else :
752
- prompt = self .prompt_cache ["prompt_semantic" ].expand (all_phoneme_ids . shape [ 0 ] , - 1 ).to (self .configs .device )
752
+ prompt = self .prompt_cache ["prompt_semantic" ].expand (len ( all_phoneme_ids ) , - 1 ).to (self .configs .device )
753
753
754
754
755
755
pred_semantic_list , idx_list = self .t2s_model .model .infer_panel (
Original file line number Diff line number Diff line change 67
67
" !git clone https://www.modelscope.cn/damo/punc_ct-transformer_zh-cn-common-vocab272727-pytorch.git\n " ,
68
68
" # @title UVR5 pretrains 安装uvr5模型\n " ,
69
69
" %cd /content/GPT-SoVITS/tools/uvr5\n " ,
70
- " %rm -r uvr5_weights\n " ,
70
+ " %rm -r uvr5_weights\n " ,
71
71
" !git clone https://huggingface.co/Delik/uvr5_weights\n " ,
72
72
" !git config core.sparseCheckout true\n " ,
73
73
" !mv /content/GPT-SoVITS/GPT_SoVITS/pretrained_models/GPT-SoVITS/* /content/GPT-SoVITS/GPT_SoVITS/pretrained_models/"
You can’t perform that action at this time.
0 commit comments