Skip to content

Commit

Permalink
[style] Remove semicolon (E703)
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Apr 2, 2024
1 parent 283e7ec commit 8eb5a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions speech_recognition/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1448,9 +1448,9 @@ def recognize_vosk(self, audio_data, language='en'):
exit (1)
self.vosk_model = Model("model")

rec = KaldiRecognizer(self.vosk_model, 16000);
rec = KaldiRecognizer(self.vosk_model, 16000)

rec.AcceptWaveform(audio_data.get_raw_data(convert_rate=16000, convert_width=2));
rec.AcceptWaveform(audio_data.get_raw_data(convert_rate=16000, convert_width=2))
finalRecognition = rec.FinalResult()

return finalRecognition
Expand Down

0 comments on commit 8eb5a62

Please sign in to comment.