Skip to content

Commit ad27730

Browse files
authored
[Add] cosyvoice object pool, support set url, workspace and headers (#75)
1 parent c7aded5 commit ad27730

File tree

2 files changed

+341
-49
lines changed

2 files changed

+341
-49
lines changed

dashscope/audio/tts_v2/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Copyright (c) Alibaba, Inc. and its affiliates.
22

33
from .enrollment import VoiceEnrollmentException, VoiceEnrollmentService
4-
from .speech_synthesizer import AudioFormat, ResultCallback, SpeechSynthesizer
4+
from .speech_synthesizer import (AudioFormat, ResultCallback,
5+
SpeechSynthesizer,
6+
SpeechSynthesizerObjectPool)
57

68
__all__ = [
79
'SpeechSynthesizer', 'ResultCallback', 'AudioFormat',
8-
'VoiceEnrollmentException', 'VoiceEnrollmentService'
10+
'VoiceEnrollmentException', 'VoiceEnrollmentService',
11+
'SpeechSynthesizerObjectPool'
912
]

0 commit comments

Comments
 (0)