Spaces:
Sleeping
Sleeping
TTsamurai
commited on
Commit
·
1fdd9d8
1
Parent(s):
cb737b4
change_schema
Browse files
app.py
CHANGED
|
@@ -894,7 +894,13 @@ def create_demo():
|
|
| 894 |
|
| 895 |
# dropdown, readon_button, multi-evaluator
|
| 896 |
print(f"Tab: {tab_name}\nEvaluation: {evals}")
|
| 897 |
-
save_feedback(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 898 |
# log_action(user_id, tab_name, "Round Evaluation", "Following")
|
| 899 |
# for key, value in evals.items():
|
| 900 |
# log_action(user_id, tab_name, key, value)
|
|
@@ -941,11 +947,8 @@ def create_demo():
|
|
| 941 |
uuid_this_session,
|
| 942 |
"final_ranking",
|
| 943 |
{
|
| 944 |
-
|
| 945 |
-
|
| 946 |
-
third_comp: ranking_third_comp,
|
| 947 |
-
fourth_comp: ranking_fourth_comp,
|
| 948 |
-
fifth_comp: ranking_fifth_comp,
|
| 949 |
},
|
| 950 |
feedback_file_final_ranking,
|
| 951 |
)
|
|
|
|
| 894 |
|
| 895 |
# dropdown, readon_button, multi-evaluator
|
| 896 |
print(f"Tab: {tab_name}\nEvaluation: {evals}")
|
| 897 |
+
save_feedback(
|
| 898 |
+
user_id,
|
| 899 |
+
uuid_this_session,
|
| 900 |
+
"round_evaluation",
|
| 901 |
+
{**evals, "company": tab_name},
|
| 902 |
+
feedback_file_round_evaluation,
|
| 903 |
+
)
|
| 904 |
# log_action(user_id, tab_name, "Round Evaluation", "Following")
|
| 905 |
# for key, value in evals.items():
|
| 906 |
# log_action(user_id, tab_name, key, value)
|
|
|
|
| 947 |
uuid_this_session,
|
| 948 |
"final_ranking",
|
| 949 |
{
|
| 950 |
+
"comp_order": [first_comp, second_comp, third_comp, fourth_comp, fifth_comp],
|
| 951 |
+
"ranking": ranking_list,
|
|
|
|
|
|
|
|
|
|
| 952 |
},
|
| 953 |
feedback_file_final_ranking,
|
| 954 |
)
|