diff --git a/src-python/webui_controller.py b/src-python/webui_controller.py index 43088f9f..b1936e69 100644 --- a/src-python/webui_controller.py +++ b/src-python/webui_controller.py @@ -1508,7 +1508,7 @@ class Controller: engine = config.SELECTED_TRANSLATION_ENGINES[config.SELECTED_TAB_NO] engines = self.getTranslationEngines()["result"] if engine not in engines: - engine = engines[0] + engine = "CTranslate2" config.SELECTED_TRANSLATION_ENGINES[config.SELECTED_TAB_NO] = engine self.run(200, self.run_mapping["selected_translation_engines"], config.SELECTED_TRANSLATION_ENGINES) self.run(200, self.run_mapping["translation_engines"], engines)