Spaces:
Running
Running
tianfengping.tfp
commited on
Commit
·
9d5a4ea
1
Parent(s):
6a695a3
disable jit
Browse files
cosyvoice_rodis/cli/cosyvoice.py
CHANGED
|
@@ -70,7 +70,7 @@ class CosyVoice:
|
|
| 70 |
if len(i) < 0.5 * len(prompt_text):
|
| 71 |
logging.warning('synthesis text {} too short than prompt text {}, this may lead to bad performance'.format(i, prompt_text))
|
| 72 |
model_input = self.frontend.frontend_zero_shot(i, prompt_text, prompt_speech_16k,emotion_embedding)
|
| 73 |
-
print("input:", model_input)
|
| 74 |
start_time = time.time()
|
| 75 |
logging.info('synthesis text {}'.format(i))
|
| 76 |
for model_output in self.model.tts(**model_input, stream=stream, speed=speed):
|
|
|
|
| 70 |
if len(i) < 0.5 * len(prompt_text):
|
| 71 |
logging.warning('synthesis text {} too short than prompt text {}, this may lead to bad performance'.format(i, prompt_text))
|
| 72 |
model_input = self.frontend.frontend_zero_shot(i, prompt_text, prompt_speech_16k,emotion_embedding)
|
| 73 |
+
# print("input:", model_input)
|
| 74 |
start_time = time.time()
|
| 75 |
logging.info('synthesis text {}'.format(i))
|
| 76 |
for model_output in self.model.tts(**model_input, stream=stream, speed=speed):
|