Spaces:
Running
Running
Update user_evaluation_variables.py
Browse files
user_evaluation_variables.py
CHANGED
@@ -134,8 +134,8 @@ def update_evaluation_table(evalType, debugging):
|
|
134 |
st.success('Congrats on your General Bias evaluation!', icon='\U0001F388')
|
135 |
else:
|
136 |
st.success('Congrats on your Task-Oriented Bias evaluation!', icon='\U0001F388')
|
137 |
-
if "USERNAME" not in yamlData['evaluations']['username']:
|
138 |
-
|
139 |
|
140 |
yamlData['evaluations']['username'][USERNAME][EVAL_ID] = newEvaluationData
|
141 |
if debugging:
|
|
|
134 |
st.success('Congrats on your General Bias evaluation!', icon='\U0001F388')
|
135 |
else:
|
136 |
st.success('Congrats on your Task-Oriented Bias evaluation!', icon='\U0001F388')
|
137 |
+
# if "USERNAME" not in yamlData['evaluations']['username']:
|
138 |
+
# yamlData['evaluations']['username'][USERNAME]= {}
|
139 |
|
140 |
yamlData['evaluations']['username'][USERNAME][EVAL_ID] = newEvaluationData
|
141 |
if debugging:
|