🐛[bugfix] Model : 文字起こしのスピーカー終了処理時のキューの削除処理をマイクの終了処理のキューの削除処理に合わせるように修正
This commit is contained in:
@@ -606,8 +606,10 @@ class Model:
|
|||||||
errorLogging()
|
errorLogging()
|
||||||
|
|
||||||
def endSpeakerTranscript():
|
def endSpeakerTranscript():
|
||||||
speaker_audio_queue.queue.clear()
|
while not speaker_audio_queue.empty():
|
||||||
# speaker_energy_queue.queue.clear()
|
speaker_audio_queue.get()
|
||||||
|
# while not speaker_energy_queue.empty():
|
||||||
|
# speaker_energy_queue.get()
|
||||||
del self.speaker_transcriber
|
del self.speaker_transcriber
|
||||||
gc.collect()
|
gc.collect()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user