qqubb commited on
Commit
7b1b2a5
·
1 Parent(s): 2e3d986

fix some messages

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -13,9 +13,9 @@ def set_operator_role_and_location(dispositive_variables, project_cc_yaml):
13
  operators += 1
14
 
15
  if ai_system and gpai_model:
16
- dispositive_variables['msg'] = ("Your project cannot be both an AI system and a GPAI model. Please revise your Project CC accordingly.")
17
  if operators != 1:
18
- dispositive_variables['msg'] = ("Please specify exactly one operator role.")
19
 
20
  return dispositive_variables
21
 
 
13
  operators += 1
14
 
15
  if ai_system and gpai_model:
16
+ dispositive_variables['msg'].append("Your project cannot be both an AI system and a GPAI model. Please revise your Project CC accordingly.")
17
  if operators != 1:
18
+ dispositive_variables['msg'].append("Please specify exactly one operator role.")
19
 
20
  return dispositive_variables
21