Skip to content

Commit

Permalink
chore/realtime: update default transcription model
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi authored and fedirz committed Feb 27, 2025
1 parent 462ec7c commit 2ea974d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/speaches/realtime/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ def create_session_object_configuration(model: str) -> Session:
voice="alloy",
input_audio_format="pcm16",
output_audio_format="pcm16",
input_audio_transcription=InputAudioTranscription(model="Systran/faster-whisper-small"),
input_audio_transcription=InputAudioTranscription(
model="Systran/faster-distil-whisper-small.en", language="en"
),
turn_detection=TurnDetection(
type="server_vad",
threshold=0.9,
Expand Down

0 comments on commit 2ea974d

Please sign in to comment.