Skip to content

Commit c6c3f27

Browse files
committed
fix typo
1 parent 49761d2 commit c6c3f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def text_generator():
151151
yield '那份意外的惊喜与深深的祝福'
152152
yield '让我心中充满了甜蜜的快乐,'
153153
yield '笑容如花儿般绽放。'
154-
for i, j in enumerate(cosyvoice.inference_zero_shot(text_generator, '希望你以后能够做的比我还好呦。', prompt_speech_16k, stream=False)):
154+
for i, j in enumerate(cosyvoice.inference_zero_shot(text_generator(), '希望你以后能够做的比我还好呦。', prompt_speech_16k, stream=False)):
155155
torchaudio.save('zero_shot_{}.wav'.format(i), j['tts_speech'], cosyvoice.sample_rate)
156156
```
157157

0 commit comments

Comments
 (0)