Spaces:
Sleeping
Sleeping
elibrowne
commited on
Commit
·
85f3be6
1
Parent(s):
7493d62
finally managed toggle
Browse files
app.py
CHANGED
@@ -99,6 +99,7 @@ with gr.Blocks(theme = theme) as user_eval:
|
|
99 |
selection = gr.HTML("""
|
100 |
<h2> Retrieved Passage </h2>
|
101 |
<p> """ + passage_texts[0] + "</p>")
|
|
|
102 |
line = gr.Markdown("---")
|
103 |
# New answers is able to render the Q and A with formatting. It doesn't change the contents of the answers.
|
104 |
new_answers = answers_text.copy()
|
@@ -114,7 +115,7 @@ with gr.Blocks(theme = theme) as user_eval:
|
|
114 |
+ """ + new_answers[2] +
|
115 |
""" \n
|
116 |
+ """ + new_answers[3])
|
117 |
-
|
118 |
|
119 |
# Scoring box
|
120 |
with gr.Column(scale = 1) as scores_p:
|
|
|
99 |
selection = gr.HTML("""
|
100 |
<h2> Retrieved Passage </h2>
|
101 |
<p> """ + passage_texts[0] + "</p>")
|
102 |
+
forward_btn = gr.Button("Next question", visible = False)
|
103 |
line = gr.Markdown("---")
|
104 |
# New answers is able to render the Q and A with formatting. It doesn't change the contents of the answers.
|
105 |
new_answers = answers_text.copy()
|
|
|
115 |
+ """ + new_answers[2] +
|
116 |
""" \n
|
117 |
+ """ + new_answers[3])
|
118 |
+
|
119 |
|
120 |
# Scoring box
|
121 |
with gr.Column(scale = 1) as scores_p:
|