Browse Source

Merge pull request #101 from JayDeezus/patch-1

Update audio_recorder.py
Kolja Beigel 8 months ago
parent
commit
45e56d19a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      RealtimeSTT/audio_recorder.py

+ 1 - 1
RealtimeSTT/audio_recorder.py

@@ -1471,7 +1471,7 @@ class AudioToTextRecorder:
                     audio_array = audio_array.astype(np.float32) / \
                         INT16_MAX_ABS_VALUE
 
-                    if self.use_main_model_for_realtime#:
+                    if self.use_main_model_for_realtime:
                         with self.transcription_lock:
                             try:
                                 self.parent_transcription_pipe.send((audio_array, self.language))