Spaces:
Sleeping
Sleeping
elibrowne
commited on
Commit
·
711dc9d
1
Parent(s):
560782b
Theme
Browse files
app.py
CHANGED
@@ -71,11 +71,21 @@ sample_dict = {
|
|
71 |
"gold_passage_generation": gold_passage_generation
|
72 |
}
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
# BLOCKS: main user interface
|
75 |
|
76 |
user_id = "NO_ID"
|
77 |
|
78 |
-
with gr.Blocks() as user_eval:
|
79 |
# Title text introducing study
|
80 |
gr.HTML("""
|
81 |
<h1> Legal Retriever Evaluation Study </h1>
|
|
|
71 |
"gold_passage_generation": gold_passage_generation
|
72 |
}
|
73 |
|
74 |
+
# THEMING: colors and styles (Gradio native)
|
75 |
+
|
76 |
+
theme = gr.themes.Soft(
|
77 |
+
primary_hue="sky",
|
78 |
+
secondary_hue="sky",
|
79 |
+
neutral_hue="slate",
|
80 |
+
spacing_size="lg",
|
81 |
+
font=[gr.themes.GoogleFont('Inter'), 'ui-sans-serif', 'system-ui', 'sans-serif'],
|
82 |
+
)
|
83 |
+
|
84 |
# BLOCKS: main user interface
|
85 |
|
86 |
user_id = "NO_ID"
|
87 |
|
88 |
+
with gr.Blocks(theme = theme) as user_eval:
|
89 |
# Title text introducing study
|
90 |
gr.HTML("""
|
91 |
<h1> Legal Retriever Evaluation Study </h1>
|