结构修改,后端文件跟前端内容进行适配
This commit is contained in:
@ -439,11 +439,11 @@ class Step9MlPredictPanel(QWidget):
|
||||
main_window = self.window()
|
||||
if hasattr(main_window, 'run_single_step'):
|
||||
config = {
|
||||
'step11_ml': self.get_config(),
|
||||
'step9_ml_predict': self.get_config(),
|
||||
'_external_models_dict': checked_dict,
|
||||
'_external_model_dir': self.external_model_dir,
|
||||
}
|
||||
main_window.run_single_step('step11_ml', config)
|
||||
main_window.run_single_step('step9_ml_predict', config)
|
||||
return
|
||||
|
||||
# 默认流程:使用模型目录
|
||||
@ -454,5 +454,5 @@ class Step9MlPredictPanel(QWidget):
|
||||
|
||||
main_window = self.window()
|
||||
if hasattr(main_window, 'run_single_step'):
|
||||
config = {'step11_ml': self.get_config()}
|
||||
main_window.run_single_step('step11_ml', config)
|
||||
config = {'step9_ml_predict': self.get_config()}
|
||||
main_window.run_single_step('step9_ml_predict', config)
|
||||
Reference in New Issue
Block a user