I’m using elevenlabs API to stream an audio response. It requires MPV (which I’ve install on my local device), but I don’t know how to do that on the cloud. Anyone know the solution?
Here’s the traceback from the log:
Traceback (most recent call last):
File "/home/adminuser/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.__dict__)
File "/mount/src/paignful-demo/demo.py", line 227, in <module>
stream_audio(time_buying_response, strip=False)
File "/mount/src/paignful-demo/demo.py", line 99, in stream_audio
return stream(audio_stream)
File "/home/adminuser/venv/lib/python3.8/site-packages/elevenlabs/utils.py", line 62, in 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/