diff --git a/src-python/webui_controller.py b/src-python/webui_controller.py index 000dd09e..139663e4 100644 --- a/src-python/webui_controller.py +++ b/src-python/webui_controller.py @@ -144,7 +144,7 @@ class Controller: printLog("CTranslate2 Weight Download Progress", progress) self.run( 200, - self.run_mapping["download_ctranslate2_weight"], + self.run_mapping["download_progress_ctranslate2_weight"], {"weight_type": self.weight_type, "progress": progress}, ) @@ -169,7 +169,7 @@ class Controller: printLog("Whisper Weight Download Progress", progress) self.run( 200, - self.run_mapping["download_whisper_weight"], + self.run_mapping["download_progress_whisper_weight"], {"weight_type": self.weight_type, "progress": progress}, ) diff --git a/src-python/webui_mainloop.py b/src-python/webui_mainloop.py index e90a9ee5..2ad86c02 100644 --- a/src-python/webui_mainloop.py +++ b/src-python/webui_mainloop.py @@ -20,9 +20,9 @@ run_mapping = { "error_translation_engine":"/run/error_translation_engine", "word_filter":"/run/word_filter", - "download_ctranslate2_weight":"/run/download_ctranslate2_weight", + "download_progress_ctranslate2_weight":"/run/download_progress_ctranslate2_weight", "downloaded_ctranslate2_weight":"/run/downloaded_ctranslate2_weight", - "download_whisper_weight":"/run/download_whisper_weight", + "download_progress_whisper_weight":"/run/download_progress_whisper_weight", "downloaded_whisper_weight":"/run/downloaded_whisper_weight", "selected_mic_device":"/run/selected_mic_device",