🐛[bugfix] Model : 文字起こしのスピーカー終了処理時のキューの削除処理をマイクの終了処理のキューの削除処理に合わせるように修正

This commit is contained in:
misyaguziya
2024-12-17 16:10:44 +09:00
parent e8d195410e
commit 6a8a09a3b7

View File

@@ -606,8 +606,10 @@ class Model:
errorLogging()
def endSpeakerTranscript():
speaker_audio_queue.queue.clear()
# speaker_energy_queue.queue.clear()
while not speaker_audio_queue.empty():
speaker_audio_queue.get()
# while not speaker_energy_queue.empty():
# speaker_energy_queue.get()
del self.speaker_transcriber
gc.collect()