@@ -1009,7 +1009,7 @@ def edit(self, instance: Dict, with_valid=True):
10091009 update_keys = ['name' , 'desc' , 'model_id' , 'multiple_rounds_dialogue' , 'prologue' , 'status' ,
10101010 'dataset_setting' , 'model_setting' , 'problem_optimization' , 'dialogue_number' ,
10111011 'stt_model_id' , 'tts_model_id' , 'tts_model_enable' , 'stt_model_enable' , 'tts_type' ,
1012- 'file_upload_enable' , 'file_upload_setting' ,
1012+ 'tts_autoplay' , ' file_upload_enable' , 'file_upload_setting' ,
10131013 'api_key_is_active' , 'icon' , 'work_flow' , 'model_params_setting' , 'tts_model_params_setting' ,
10141014 'problem_optimization_prompt' , 'clean_time' ]
10151015 for update_key in update_keys :
@@ -1073,6 +1073,8 @@ def get_work_flow_model(instance):
10731073 instance ['tts_model_enable' ] = node_data ['tts_model_enable' ]
10741074 if 'tts_type' in node_data :
10751075 instance ['tts_type' ] = node_data ['tts_type' ]
1076+ if 'tts_autoplay' in node_data :
1077+ instance ['tts_autoplay' ] = node_data ['tts_autoplay' ]
10761078 if 'tts_model_params_setting' in node_data :
10771079 instance ['tts_model_params_setting' ] = node_data ['tts_model_params_setting' ]
10781080 if 'file_upload_enable' in node_data :
0 commit comments