Spaces:
Paused
Paused
Update stt/stt_deepgram.py
Browse files- stt/stt_deepgram.py +5 -5
stt/stt_deepgram.py
CHANGED
|
@@ -93,15 +93,15 @@ class DeepgramSTT(STTInterface):
|
|
| 93 |
model="nova-2",
|
| 94 |
encoding="linear16",
|
| 95 |
sample_rate=16000,
|
| 96 |
-
interim_results=
|
| 97 |
channels=1,
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
#numerals=True,
|
| 102 |
#profanity_filter=False,
|
| 103 |
#redact=False,
|
| 104 |
-
|
| 105 |
vad_events=True # Enable VAD events
|
| 106 |
)
|
| 107 |
|
|
|
|
| 93 |
model="nova-2",
|
| 94 |
encoding="linear16",
|
| 95 |
sample_rate=16000,
|
| 96 |
+
interim_results=True, # Bu zorunlu, yoksa final result da gelmiyor...
|
| 97 |
channels=1,
|
| 98 |
+
utterance_end_ms=1000, # 1 second silence = end
|
| 99 |
+
punctuate=True,
|
| 100 |
+
smart_format=True,
|
| 101 |
#numerals=True,
|
| 102 |
#profanity_filter=False,
|
| 103 |
#redact=False,
|
| 104 |
+
no_delay=True,
|
| 105 |
vad_events=True # Enable VAD events
|
| 106 |
)
|
| 107 |
|