Skip to content

Commit

Permalink
add posthog to docs
Browse files Browse the repository at this point in the history
adds posthog analytics to docs. Note: will overrride the mintlify analytics
  • Loading branch information
lharries committed May 21, 2024
1 parent 6bf9fb7 commit 388e974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/text-to-speech/python/text_to_speech_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def text_to_speech_stream(text: str) -> IO[bytes]:
IO[bytes]: A BytesIO stream containing the audio data.
"""
# Perform the text-to-speech conversion
response = client.text_to_speech.convert(
response = client.text_to_speech.convert_to_stream(
voice_id="pNInz6obpgDQGcFmaJgB", # Adam pre-made voice
optimize_streaming_latency="0",
output_format="mp3_22050_32",
Expand Down

0 comments on commit 388e974

Please sign in to comment.