📝[Refactor] ruffを使用しコード検証修正を行った

This commit is contained in:
misyaguziya committed 2023-11-08 17:35:50 +09:00
1 parent 02acc4a191
commit 4351122cb4
17 files changed
+107 -90

No files matched your search

@@ -38,7 +38,7 @@ class AudioTranscriber:
# os.close(fd)
audio_data = self.audio_sources["process_data_func"]()
text = self.audio_recognizer.recognize_google(audio_data, language=transcription_lang[language][country])
except Exception as e:
except Exception:
pass
finally:
pass