-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread Thread-13 (play): #247
Comments
Please install MPV player to real-time playback MP3 chunks returned by ElevenlabsEngine and EdgeEngine. |
Hello @KoljaB |
Probably easiest way to get MPV installed:
|
thanks @KoljaB but i am struggling where to put the elevenlabs api key i put it in the string but the error keeps on showing api is misssing, where is the api should put? thank you... |
You’ve got two options for passing the API key to the engine:
|
Exception in thread Thread-13 (play):
Traceback (most recent call last):
File "C:\Users\User\anaconda\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
File "C:\Users\User\anaconda\Lib\threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\User\Downloads\RealtimeTTS-0.4.40\RealtimeTTS-0.4.40\RealtimeTTS\text_to_stream.py", line 380, in play
self.player.start()
File "C:\Users\User\Downloads\RealtimeTTS-0.4.40\RealtimeTTS-0.4.40\RealtimeTTS\stream_player.py", line 552, in start
self.audio_stream.open_stream()
File "C:\Users\User\Downloads\RealtimeTTS-0.4.40\RealtimeTTS-0.4.40\RealtimeTTS\stream_player.py", line 184, in open_stream
raise ValueError(message)
ValueError: mpv not found, necessary to stream audio. On mac you can install it with 'brew install mpv'. On linux and windows you can install it from https://mpv.io/
The text was updated successfully, but these errors were encountered: