ciyidogan commited on
Commit
c2548fb
·
verified ·
1 Parent(s): 68eb4f3

Update stt/stt_deepgram.py

Browse files
Files changed (1) hide show
  1. 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=False, # Only final results
97
  channels=1,
98
- #utterance_end_ms=1000, # 1 second silence = end
99
- #punctuate=True,
100
- #diarize=False,
101
  #numerals=True,
102
  #profanity_filter=False,
103
  #redact=False,
104
- endpointing=1000,
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