Spaces:
Sleeping
Sleeping
elibrowne commited on
Commit ·
f408e8c
1
Parent(s): 31d31bd
Beautify
Browse files
app.py
CHANGED
|
@@ -80,7 +80,8 @@ with gr.Blocks() as user_eval:
|
|
| 80 |
<h2> Retrieved Passage </h2>
|
| 81 |
<p> """ + passage_texts[0] + "</p>")
|
| 82 |
line = gr.Markdown("---")
|
| 83 |
-
|
|
|
|
| 84 |
passage_display = gr.Markdown("""
|
| 85 |
## Question and Answer
|
| 86 |
*""" + question_text +
|
|
|
|
| 80 |
<h2> Retrieved Passage </h2>
|
| 81 |
<p> """ + passage_texts[0] + "</p>")
|
| 82 |
line = gr.Markdown("---")
|
| 83 |
+
new_answers = answers_text.copy()
|
| 84 |
+
new_answers[answer_id] = "**" + answers_text[answer_id] + "** ✅"
|
| 85 |
passage_display = gr.Markdown("""
|
| 86 |
## Question and Answer
|
| 87 |
*""" + question_text +
|