Spaces:
Sleeping
Sleeping
TTsamurai
commited on
Commit
·
e80147e
1
Parent(s):
64289c0
upgrade
Browse files
app.py
CHANGED
|
@@ -320,11 +320,7 @@ def create_demo():
|
|
| 320 |
show_label=True,
|
| 321 |
)
|
| 322 |
with gr.Row():
|
| 323 |
-
textbox = gr.HTML(
|
| 324 |
-
"""<div style="background-color: #f8d7da; color: #721c24; padding: 15px; border: 1px solid #f5c6cb; border-radius: 5px; margin-bottom: 20px;">
|
| 325 |
-
Make sure to answer all the questions.
|
| 326 |
-
</div>"""
|
| 327 |
-
)
|
| 328 |
evaluation_send_button = gr.Button(value="Send: Evaluation")
|
| 329 |
return {
|
| 330 |
"comp": comp,
|
|
@@ -676,7 +672,7 @@ def create_demo():
|
|
| 676 |
result_textbox = tabs["text_box"]
|
| 677 |
submit_ranking = tabs["submit_ranking"]
|
| 678 |
submit_ranking.click(
|
| 679 |
-
lambda user_id, ranking_first_comp,
|
| 680 |
user_id,
|
| 681 |
first_comp,
|
| 682 |
ranking_first_comp,
|
|
|
|
| 320 |
show_label=True,
|
| 321 |
)
|
| 322 |
with gr.Row():
|
| 323 |
+
textbox = gr.HTML()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 324 |
evaluation_send_button = gr.Button(value="Send: Evaluation")
|
| 325 |
return {
|
| 326 |
"comp": comp,
|
|
|
|
| 672 |
result_textbox = tabs["text_box"]
|
| 673 |
submit_ranking = tabs["submit_ranking"]
|
| 674 |
submit_ranking.click(
|
| 675 |
+
lambda user_id, first_comp, ranking_first_comp, second_comp, ranking_second_comp, third_comp, ranking_third_comp, fourth_comp, ranking_fourth_comp, ranking_fifth_comp, fifth_comp, ranking_fifth_comp, perceived_personalization_1, perceived_personalization_2, emotional_trust_1, emotional_trust_2, emotional_trust_3, trust_in_competence_1, trust_in_competence_2, intention_to_use_1, intention_to_use_2, usefulness_1, usefulness_2, usefulness_3, overall_satisfaction, providing_information_1, providing_information_2,: respond_final_ranking(
|
| 676 |
user_id,
|
| 677 |
first_comp,
|
| 678 |
ranking_first_comp,
|