Spaces:
Sleeping
Sleeping
fix: remove html for labels
Browse files
app.py
CHANGED
@@ -173,20 +173,20 @@ with gr.Blocks(css=css, theme=theme) as demo:
|
|
173 |
with gr.Row(equal_height=True):
|
174 |
with gr.Column(scale=1):
|
175 |
gr.Markdown("<div style='color: #fff !important; font-weight: 600'>Your Inputs</div>")
|
176 |
-
model_output = gr.Textbox(label="
|
177 |
-
user_input = gr.Textbox(label="
|
178 |
-
gold_answer = gr.Textbox(label="
|
179 |
-
retrieved_context = gr.Textbox(label="
|
180 |
-
pass_criteria = gr.Textbox(label="
|
181 |
-
rubric = gr.Textbox(label="
|
182 |
with gr.Row():
|
183 |
clear_btn = gr.ClearButton([model_output, user_input, gold_answer, retrieved_context, pass_criteria, rubric])
|
184 |
submit_button = gr.Button("Submit", variant="primary")
|
185 |
with gr.Column(scale=1):
|
186 |
gr.Markdown("<div style='color: #fff !important; font-weight: 600'>GLIDER Output</div>")
|
187 |
-
score = gr.Textbox(label="
|
188 |
-
reasoning = gr.Textbox(label="
|
189 |
-
highlights = gr.Textbox(label="
|
190 |
gr.Markdown(" ")
|
191 |
gr.Markdown(EXAMPLES_HEADER)
|
192 |
with gr.Row():
|
|
|
173 |
with gr.Row(equal_height=True):
|
174 |
with gr.Column(scale=1):
|
175 |
gr.Markdown("<div style='color: #fff !important; font-weight: 600'>Your Inputs</div>")
|
176 |
+
model_output = gr.Textbox(label="MODEL OUTPUT (required)")
|
177 |
+
user_input = gr.Textbox(label="USER INPUT (required)")
|
178 |
+
gold_answer = gr.Textbox(label="GOLD ANSWER")
|
179 |
+
retrieved_context = gr.Textbox(label="RETRIEVED CONTEXT")
|
180 |
+
pass_criteria = gr.Textbox(label="Pass Criteria (required)")
|
181 |
+
rubric = gr.Textbox(label="Rubric")
|
182 |
with gr.Row():
|
183 |
clear_btn = gr.ClearButton([model_output, user_input, gold_answer, retrieved_context, pass_criteria, rubric])
|
184 |
submit_button = gr.Button("Submit", variant="primary")
|
185 |
with gr.Column(scale=1):
|
186 |
gr.Markdown("<div style='color: #fff !important; font-weight: 600'>GLIDER Output</div>")
|
187 |
+
score = gr.Textbox(label="Score")
|
188 |
+
reasoning = gr.Textbox(label="Reasoning")
|
189 |
+
highlights = gr.Textbox(label="Highlights")
|
190 |
gr.Markdown(" ")
|
191 |
gr.Markdown(EXAMPLES_HEADER)
|
192 |
with gr.Row():
|