Spaces:
Sleeping
Sleeping
wlmbrown
commited on
Commit
·
b553985
1
Parent(s):
b5a3e71
Fixed error in check_excepted
Browse files
__pycache__/compliance_analysis.cpython-310.pyc
CHANGED
Binary files a/__pycache__/compliance_analysis.cpython-310.pyc and b/__pycache__/compliance_analysis.cpython-310.pyc differ
|
|
__pycache__/utils.cpython-310.pyc
CHANGED
Binary files a/__pycache__/utils.cpython-310.pyc and b/__pycache__/utils.cpython-310.pyc differ
|
|
utils.py
CHANGED
@@ -57,9 +57,9 @@ def check_excepted(dispositive_variables, project_cc_yaml):
|
|
57 |
if (project_cc_yaml['excepted']['scientific']['value'] or
|
58 |
project_cc_yaml['excepted']['pre_market']['value'] or
|
59 |
(project_cc_yaml['ai_system']['ai_system']['value'] == True and
|
60 |
-
project_cc_yaml['excepted']['
|
61 |
(project_cc_yaml['gpai_model']['gpai_model']['value'] == True and
|
62 |
-
project_cc_yaml['excepted']['
|
63 |
dispositive_variables['ai_project_type']['gpai_model_systemic_risk'] == False)
|
64 |
):
|
65 |
dispositive_variables['msg'].append("Your project falls into one of the exemptions from the Act.")
|
|
|
57 |
if (project_cc_yaml['excepted']['scientific']['value'] or
|
58 |
project_cc_yaml['excepted']['pre_market']['value'] or
|
59 |
(project_cc_yaml['ai_system']['ai_system']['value'] == True and
|
60 |
+
project_cc_yaml['excepted']['open_source_ai_model']['value'] == True) or
|
61 |
(project_cc_yaml['gpai_model']['gpai_model']['value'] == True and
|
62 |
+
project_cc_yaml['excepted']['open_source_gpai_model']['value'] == True and
|
63 |
dispositive_variables['ai_project_type']['gpai_model_systemic_risk'] == False)
|
64 |
):
|
65 |
dispositive_variables['msg'].append("Your project falls into one of the exemptions from the Act.")
|