allenpark commited on
Commit
a4fc164
·
1 Parent(s): 06d6973

fix: update fonts

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -84,7 +84,7 @@ HEADER = """
84
  </div>
85
  </div>
86
 
87
- **GLIDER** is a powerful 3B evaluator LLM that can score any text input and associated context on arbitrary user defined criteria.
88
 
89
  **Getting Started**: First, provide a model output (text generated by your model) and user input (text used to prompt your model) and optionally a gold answer (label or gold answer to the prompt) and retrieved context (context used for text generated by your model). Next, provide a pass criteria (description of a passing evaluation). Finally, provide an optional rubric (scoring scales with explanations) and then click submit. The GLIDER Output panel will provide a score and reasoning which is a human readable explanation of the score.
90
 
@@ -158,7 +158,7 @@ def model_call(model_output, user_input, gold_answer, retrieved_context, pass_cr
158
  def select_template(template):
159
  return template["model_output"], template["user_input"], template["gold_answer"], template["retrieved_context"], template["pass_criteria"], template["rubric"]
160
 
161
- with gr.Blocks(css=css, theme=gr.themes.Default(spacing_size="sm", font=[gr.themes.GoogleFont("Alumni Sans"), "Arial", "sans-serif"], primary_hue="indigo", secondary_hue="purple")) as demo:
162
  gr.Markdown(HEADER)
163
  with gr.Row(equal_height=True):
164
  with gr.Column(scale=1):
 
84
  </div>
85
  </div>
86
 
87
+ <div style="font-family: 'Alumni Sans', sans-serif;">**GLIDER** is a powerful 3B evaluator LLM that can score any text input and associated context on arbitrary user defined criteria.</div>
88
 
89
  **Getting Started**: First, provide a model output (text generated by your model) and user input (text used to prompt your model) and optionally a gold answer (label or gold answer to the prompt) and retrieved context (context used for text generated by your model). Next, provide a pass criteria (description of a passing evaluation). Finally, provide an optional rubric (scoring scales with explanations) and then click submit. The GLIDER Output panel will provide a score and reasoning which is a human readable explanation of the score.
90
 
 
158
  def select_template(template):
159
  return template["model_output"], template["user_input"], template["gold_answer"], template["retrieved_context"], template["pass_criteria"], template["rubric"]
160
 
161
+ with gr.Blocks(css=css, theme=gr.themes.Default(spacing_size="sm", font=[gr.themes.GoogleFont("Plus Jakarta Sans"), "Arial", "sans-serif"], primary_hue="indigo", secondary_hue="purple")) as demo:
162
  gr.Markdown(HEADER)
163
  with gr.Row(equal_height=True):
164
  with gr.Column(scale=1):