Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ def compute_all(input_type, prompt_text, completion_text, base_prompt_tokens, ba
|
|
105 |
|
106 |
else:
|
107 |
def apply_color(val):
|
108 |
-
return "background-color:
|
109 |
|
110 |
|
111 |
# Apply colors and formatting
|
@@ -156,10 +156,10 @@ with gr.Blocks(css="""
|
|
156 |
border-bottom: 1px solid #dddddd;
|
157 |
}
|
158 |
.styled-table tbody tr:nth-of-type(even) {
|
159 |
-
background-color:
|
160 |
}
|
161 |
.styled-table tbody tr:nth-of-type(odd) {
|
162 |
-
background-color:
|
163 |
}
|
164 |
""", theme=gr.themes.Soft(primary_hue=gr.themes.colors.yellow, secondary_hue=gr.themes.colors.orange)) as demo:
|
165 |
gr.Markdown("""
|
|
|
105 |
|
106 |
else:
|
107 |
def apply_color(val):
|
108 |
+
return "background-color: var(--input-background-fill)"
|
109 |
|
110 |
|
111 |
# Apply colors and formatting
|
|
|
156 |
border-bottom: 1px solid #dddddd;
|
157 |
}
|
158 |
.styled-table tbody tr:nth-of-type(even) {
|
159 |
+
background-color: var(--input-background-fill);
|
160 |
}
|
161 |
.styled-table tbody tr:nth-of-type(odd) {
|
162 |
+
background-color: var(--block-background-fill);
|
163 |
}
|
164 |
""", theme=gr.themes.Soft(primary_hue=gr.themes.colors.yellow, secondary_hue=gr.themes.colors.orange)) as demo:
|
165 |
gr.Markdown("""
|