Spaces:
Paused
Paused
Update stt/stt_deepgram.py
Browse files- stt/stt_deepgram.py +3 -2
stt/stt_deepgram.py
CHANGED
@@ -110,12 +110,13 @@ class DeepgramSTT(STTInterface):
|
|
110 |
options = LiveOptions(
|
111 |
language="tr",
|
112 |
model="nova-2",
|
113 |
-
encoding="
|
114 |
sample_rate=16000,
|
115 |
-
interim_results=
|
116 |
utterance_end_ms=1000,
|
117 |
punctuate=True,
|
118 |
channels=1,
|
|
|
119 |
)
|
120 |
|
121 |
log_info(f"🔧 Deepgram options: language=tr, model=nova-2, encoding=linear16, interim_results=True")
|
|
|
110 |
options = LiveOptions(
|
111 |
language="tr",
|
112 |
model="nova-2",
|
113 |
+
encoding="opus",
|
114 |
sample_rate=16000,
|
115 |
+
interim_results=False,
|
116 |
utterance_end_ms=1000,
|
117 |
punctuate=True,
|
118 |
channels=1,
|
119 |
+
vad_events=True
|
120 |
)
|
121 |
|
122 |
log_info(f"🔧 Deepgram options: language=tr, model=nova-2, encoding=linear16, interim_results=True")
|