Skip to content

Commit

Permalink
[style] Remove whitespace (E211)
Browse files Browse the repository at this point in the history
  • Loading branch information
ftnext committed Apr 2, 2024
1 parent c9f13ff commit d2ff8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speech_recognition/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1439,7 +1439,7 @@ def recognize_vosk(self, audio_data, language='en'):
if not hasattr(self, 'vosk_model'):
if not os.path.exists("model"):
return "Please download the model from https://github.com/alphacep/vosk-api/blob/master/doc/models.md and unpack as 'model' in the current folder."
exit (1)
exit(1)
self.vosk_model = Model("model")

rec = KaldiRecognizer(self.vosk_model, 16000)
Expand Down

0 comments on commit d2ff8ba

Please sign in to comment.