Skip to content

Commit 4f21bc8

Browse files
ajar98adnaans
andauthored
Apply suggestions from code review
Co-authored-by: Adnaan Sachidanandan <[email protected]>
1 parent 0580632 commit 4f21bc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/open-source/using-synthesizers.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The method hardcodes some values like the `sampling_rate` and `audio_encoding` f
5050

5151
You can try out our experimental implementation of ElevenLabs' [input streaming API](https://elevenlabs.io/docs/api-reference/websockets) by passing in `experimental_websocket=True` into the config and using the `ElevenLabsWSSynthesizer`, like:
5252

53-
```
53+
```python
5454
from vocode.streaming.synthesizer.eleven_labs_websocket_synthesizer import ElevenLabsWSSynthesizer
5555
from vocode.streaming.models.synthesizer import ElevenLabsSynthesizerConfig
5656

@@ -74,7 +74,7 @@ synthesizer=ElevenLabsWSSynthesizer(ElevenLabsSynthesizerConfig.from_output_devi
7474

7575
We now support Play.ht's new [gRPC streaming API](https://docs.play.ht/reference/python-sdk-audio-streaming), which runs much faster than their HTTP API and is designed for realtime communication.
7676

77-
```
77+
```python
7878
...
7979
synthesizer_config=PlayHtSynthesizerConfig.from_telephone_output_device(
8080
api_key=os.getenv("PLAY_HT_API_KEY"),

0 commit comments

Comments
 (0)