diff --git a/dashscope/audio/tts_v2/speech_synthesizer.py b/dashscope/audio/tts_v2/speech_synthesizer.py index 8ef7420..5339d6c 100644 --- a/dashscope/audio/tts_v2/speech_synthesizer.py +++ b/dashscope/audio/tts_v2/speech_synthesizer.py @@ -356,6 +356,7 @@ def __init__( # pylint: disable=redefined-builtin workspace, url, additional_params, + self._close_ws_after_use, hot_fix, )