From 825811b3b63d00bd1003fe89c4df5fc5cfd615e5 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Thu, 7 Nov 2024 06:22:17 +0900 Subject: [PATCH] =?UTF-8?q?[bugfix]=20=E9=81=B8=E6=8A=9E=E4=B8=AD=E7=BF=BB?= =?UTF-8?q?=E8=A8=B3=E3=82=A8=E3=83=B3=E3=82=B8=E3=83=B3=E3=83=AA=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=81=AE=E3=82=A2=E3=83=97=E3=83=87=E9=83=A8=E5=88=86?= =?UTF-8?q?=E3=81=8C=E5=85=83=E3=81=AB=E6=88=BB=E3=81=A3=E3=81=A6=E3=81=AA?= =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7=E3=80=81=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0=E3=81=A7=E5=85=83=E3=81=AB=E6=88=BB=E3=81=97=E3=81=9F?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-python/webui_controller.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src-python/webui_controller.py b/src-python/webui_controller.py index 66862ab9..39a17dc1 100644 --- a/src-python/webui_controller.py +++ b/src-python/webui_controller.py @@ -1566,11 +1566,7 @@ class Controller: engines[config.SELECTED_TAB_NO] = engine config.SELECTED_TRANSLATION_ENGINES = engines - data = { - "engines":config.SELECTED_TRANSLATION_ENGINES, - "weight_type":config.CTRANSLATE2_WEIGHT_TYPE, - } - self.run(200, self.run_mapping["selected_translation_engines"], data) + self.run(200, self.run_mapping["selected_translation_engines"], config.SELECTED_TRANSLATION_ENGINES) self.run(200, self.run_mapping["translation_engines"], selectable_engines) def updateDownloadedWhisperModelWeight(self) -> None: