Spaces:
Runtime error
Runtime error
fix: update font
Browse files
app.py
CHANGED
|
@@ -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("
|
| 162 |
gr.Markdown(HEADER)
|
| 163 |
with gr.Row(equal_height=True):
|
| 164 |
with gr.Column(scale=1):
|
|
|
|
| 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):
|