allenpark commited on
Commit
aef8eda
·
1 Parent(s): 549c114

fix: make input and output labels smaller

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -172,7 +172,7 @@ with gr.Blocks(css=css, theme=theme) as demo:
172
  gr.Markdown(HEADER)
173
  with gr.Row(equal_height=True):
174
  with gr.Column(scale=1):
175
- gr.Markdown("<h1 style='color: #fff !important'>Your Inputs</h1>")
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")
@@ -183,7 +183,7 @@ with gr.Blocks(css=css, theme=theme) as demo:
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("<h1 style='color: #fff !important'>GLIDER Output</h1>")
187
  score = gr.Textbox(label="Score")
188
  reasoning = gr.Textbox(label="Reasoning")
189
  highlights = gr.Textbox(label="Highlights")
 
172
  gr.Markdown(HEADER)
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")
 
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")