Open brianshin22 opened 1 month ago
dubbing api call results in error in release 1.10.0
Steps to reproduce python 3.10
httpx -> _multipart.py --> [181] chunk = self.file.read(self.CHUNK_SIZE) [182] while chunk: [183] yield to_bytes(chunk)
from elevenlabs import ElevenLabs ... client = ElevenLabs( ... ) source_url = "https://www.youtube.com/watch?v=v4t0E3S1N1k" source_language = "en" target_language = "es" response = client.dubbing.dub_a_video_or_an_audio_file( source_url=source_url, target_lang=target_language, source_lang=source_language, num_speakers=1, watermark=True, # reduces the characters used ) dubbing_id = response.dubbing_id print(dubbing_id)
Current workaround: revert to 1.9.0 Have not looked into the source of the error, but have verified that reverting to previous release (1.9.0) fixes the error. Could be incompatibility with httpx module (0.23.3 installed)
Description
dubbing api call results in error in release 1.10.0
Steps to reproduce python 3.10
httpx -> _multipart.py --> [181] chunk = self.file.read(self.CHUNK_SIZE) [182] while chunk: [183] yield to_bytes(chunk)
Code example
Additional context
Current workaround: revert to 1.9.0 Have not looked into the source of the error, but have verified that reverting to previous release (1.9.0) fixes the error. Could be incompatibility with httpx module (0.23.3 installed)