Spaces:
Sleeping
Sleeping
qqubb
commited on
Commit
·
3401323
1
Parent(s):
adea9fe
update check_excepted
Browse files
utils.py
CHANGED
@@ -66,7 +66,11 @@ def check_within_scope_act(project_cc_yaml):
|
|
66 |
return False
|
67 |
|
68 |
def check_excepted(project_cc_yaml):
|
69 |
-
if project_cc_yaml['excepted']['scientific'] or
|
|
|
|
|
|
|
|
|
70 |
print("Your project falls into one of the exemptions from the Act.")
|
71 |
return True
|
72 |
else:
|
|
|
66 |
return False
|
67 |
|
68 |
def check_excepted(project_cc_yaml):
|
69 |
+
if (project_cc_yaml['excepted']['scientific'] or
|
70 |
+
project_cc_yaml['excepted']['pre_market'] or
|
71 |
+
(project_cc_yaml['ai_system']['ai_system']['value'] == True and project_cc_yaml['excepted']['open_source_ai_system']) or
|
72 |
+
(project_cc_yaml['gpai_model']['gpai_model']['value'] == True and project_cc_yaml['excepted']['open_source_gpai_system'])
|
73 |
+
):
|
74 |
print("Your project falls into one of the exemptions from the Act.")
|
75 |
return True
|
76 |
else:
|