Spaces:
Running
Running
Update stt/stt_deepgram.py
Browse files- stt/stt_deepgram.py +3 -2
stt/stt_deepgram.py
CHANGED
@@ -93,7 +93,7 @@ class DeepgramSTT(STTInterface):
|
|
93 |
# Try minimal configuration first
|
94 |
options = LiveOptions(
|
95 |
language="tr",
|
96 |
-
model="nova-2",
|
97 |
encoding="linear16",
|
98 |
sample_rate=16000,
|
99 |
interim_results=True, # Bu zorunlu, yoksa final result da gelmiyor...
|
@@ -106,7 +106,8 @@ class DeepgramSTT(STTInterface):
|
|
106 |
#redact=False,
|
107 |
no_delay=True,
|
108 |
vad_events=True, # Enable VAD events
|
109 |
-
endpointing=1000
|
|
|
110 |
)
|
111 |
|
112 |
log_info(f"🔧 Deepgram options: language=tr, model=nova-2, encoding=linear16, interim_results=True")
|
|
|
93 |
# Try minimal configuration first
|
94 |
options = LiveOptions(
|
95 |
language="tr",
|
96 |
+
model="nova-2-general",
|
97 |
encoding="linear16",
|
98 |
sample_rate=16000,
|
99 |
interim_results=True, # Bu zorunlu, yoksa final result da gelmiyor...
|
|
|
106 |
#redact=False,
|
107 |
no_delay=True,
|
108 |
vad_events=True, # Enable VAD events
|
109 |
+
#endpointing=1000
|
110 |
+
utterance_end_ms=2000
|
111 |
)
|
112 |
|
113 |
log_info(f"🔧 Deepgram options: language=tr, model=nova-2, encoding=linear16, interim_results=True")
|