From 6a8a09a3b7b912ef3eed1541a47af732da5e2d01 Mon Sep 17 00:00:00 2001 From: misyaguziya <53165965+misyaguziya@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:10:44 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B[bugfix]=20Model=20:=20=E6=96=87?= =?UTF-8?q?=E5=AD=97=E8=B5=B7=E3=81=93=E3=81=97=E3=81=AE=E3=82=B9=E3=83=94?= =?UTF-8?q?=E3=83=BC=E3=82=AB=E3=83=BC=E7=B5=82=E4=BA=86=E5=87=A6=E7=90=86?= =?UTF-8?q?=E6=99=82=E3=81=AE=E3=82=AD=E3=83=A5=E3=83=BC=E3=81=AE=E5=89=8A?= =?UTF-8?q?=E9=99=A4=E5=87=A6=E7=90=86=E3=82=92=E3=83=9E=E3=82=A4=E3=82=AF?= =?UTF-8?q?=E3=81=AE=E7=B5=82=E4=BA=86=E5=87=A6=E7=90=86=E3=81=AE=E3=82=AD?= =?UTF-8?q?=E3=83=A5=E3=83=BC=E3=81=AE=E5=89=8A=E9=99=A4=E5=87=A6=E7=90=86?= =?UTF-8?q?=E3=81=AB=E5=90=88=E3=82=8F=E3=81=9B=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-python/model.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src-python/model.py b/src-python/model.py index 97a0855e..060bcc38 100644 --- a/src-python/model.py +++ b/src-python/model.py @@ -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()