allenpark commited on
Commit
6cef0a4
·
1 Parent(s): 19e86aa

fix: remove html for labels

Browse files
Files changed (1) hide show
  1. app.py +9 -9
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="<span style='color: #fff !important'>MODEL OUTPUT (required)</span>")
177
- user_input = gr.Textbox(label="<span style='color: #fff !important'>USER INPUT (required)</span>")
178
- gold_answer = gr.Textbox(label="<span style='color: #fff !important'>GOLD ANSWER</span>")
179
- retrieved_context = gr.Textbox(label="<span style='color: #fff !important'>RETRIEVED CONTEXT</span>")
180
- pass_criteria = gr.Textbox(label="<span style='color: #fff !important'>Pass Criteria (required)</span>")
181
- rubric = gr.Textbox(label="<span style='color: #fff !important'>Rubric</span>")
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="<span style='color: #fff !important'>Score</span>")
188
- reasoning = gr.Textbox(label="<span style='color: #fff !important'>Reasoning</span>")
189
- highlights = gr.Textbox(label="<span style='color: #fff !important'>Highlights</span>")
190
  gr.Markdown("&nbsp;")
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("&nbsp;")
191
  gr.Markdown(EXAMPLES_HEADER)
192
  with gr.Row():