fix error on local tts docs

pull/314/head
Ben Xu 1 month ago
parent 7207add614
commit 0c6a2cde30

@ -129,11 +129,10 @@ We recommend having Docker installed for the easiest setup. Local TTS and STT re
#### Local TTS #### Local TTS
1. Clone the [openedai-speech](https://github.com/matatonic/openedai-speech?tab=readme-ov-file) repository 1. Clone the [openedai-speech](https://github.com/matatonic/openedai-speech?tab=readme-ov-file) repository
2. Set `base_url = os.environ.get("OPENAI_BASE_URL", "http://localhost:9000/v1")` to point to localhost at port 9000 in `say.py` 2. Follow the Docker Image instructions for your system. Default run `docker compose -f docker-compose.min.yml up` in the root.
3. Follow the Docker Image instructions for your system. Default run `docker compose -f docker-compose.min.yml up` in the root. 3. Set your profile with local TTS service
4. Set your profile with local TTS service
```python ```python
interpreter.stt = "local" interpreter.tts = "local"
``` ```
#### Local STT #### Local STT

Loading…
Cancel
Save