lugia19 / elevenlabslib

Full python wrapper for the elevenlabs API.
MIT License
150 stars 27 forks source link

Out of the box syntax error #1

Closed cbg342 closed 1 year ago

cbg342 commented 1 year ago

When trying to "from elevenlabslib import " It gives: Traceback (most recent call last): File "", line 1, in File "/Users/cameronglass/opt/anaconda3/lib/python3.9/site-packages/elevenlabslib/init.py", line 1, in from .ElevenLabsUser import ElevenLabsUser File "/Users/cameronglass/opt/anaconda3/lib/python3.9/site-packages/elevenlabslib/ElevenLabsUser.py", line 10, in from elevenlabslib.helpers import File "/Users/cameronglass/opt/anaconda3/lib/python3.9/site-packages/elevenlabslib/helpers.py", line 11 match requestType: ^ SyntaxError: invalid syntax

lugia19 commented 1 year ago

Right, I forgot that match case is 3.10+ only. Fixed.

cbg342 commented 1 year ago

Right, I forgot that match case is 3.10+ only. Fixed.

Thank you! Amazing wrapper btw, thanks for the work 🙏