feat: Uncomment model parameter for speech recognition to improve voice chat handling
This commit is contained in:
parent
445be20991
commit
99bd17008e
@ -543,7 +543,7 @@ class VoiceGatewayCog(commands.Cog):
|
||||
sample_rate_hertz=SAMPLE_RATE, # Defined as 16000
|
||||
language_code="en-US",
|
||||
enable_automatic_punctuation=True,
|
||||
# model="telephony" # Consider uncommenting if default isn't ideal for voice chat
|
||||
model="telephony" # Consider uncommenting if default isn't ideal for voice chat
|
||||
)
|
||||
recognition_audio = speech.RecognitionAudio(content=audio_data)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user