Spaces:
Build error
Build error
vtrv.vls commited on
Commit ·
f571a5a
1
Parent(s): 2df8423
Tabs themes
Browse files
app.py
CHANGED
|
@@ -221,8 +221,7 @@ def tab_offline_arena():
|
|
| 221 |
clear_task_button = gradio.Button("Clear", elem_classes="btn_boderline_gray", scale=1)
|
| 222 |
# clear the select_tasks
|
| 223 |
clear_task_button.click(lambda: {select_tasks: {"value": [], "__type__": "update"}}, inputs=[], outputs=[select_tasks])
|
| 224 |
-
|
| 225 |
-
btn_show_history = gradio.Button("Click to get sample and models' ouputs")
|
| 226 |
with gradio.Column(scale=1):
|
| 227 |
with gradio.Accordion("Choose criteria to sample", open=False, elem_classes="accordion-label"):
|
| 228 |
with gradio.Row():
|
|
@@ -247,7 +246,7 @@ def tab_offline_arena():
|
|
| 247 |
def build_demo():
|
| 248 |
# global original_dfs, available_models, gpt4t_dfs, haiku_dfs, llama_dfs
|
| 249 |
|
| 250 |
-
with gradio.Blocks(theme=
|
| 251 |
# gradio.HTML(BANNER, elem_id="banner")
|
| 252 |
# gradio.Markdown(HEADER_MD.replace("{model_num}", str(len(original_dfs["-1"]))), elem_classes="markdown-text")
|
| 253 |
|
|
|
|
| 221 |
clear_task_button = gradio.Button("Clear", elem_classes="btn_boderline_gray", scale=1)
|
| 222 |
# clear the select_tasks
|
| 223 |
clear_task_button.click(lambda: {select_tasks: {"value": [], "__type__": "update"}}, inputs=[], outputs=[select_tasks])
|
| 224 |
+
btn_show_history = gradio.Button("Click to get sample and models' ouputs")
|
|
|
|
| 225 |
with gradio.Column(scale=1):
|
| 226 |
with gradio.Accordion("Choose criteria to sample", open=False, elem_classes="accordion-label"):
|
| 227 |
with gradio.Row():
|
|
|
|
| 246 |
def build_demo():
|
| 247 |
# global original_dfs, available_models, gpt4t_dfs, haiku_dfs, llama_dfs
|
| 248 |
|
| 249 |
+
with gradio.Blocks(theme='shivi/calm_seafoam') as demo: # , css=css, js=js_light
|
| 250 |
# gradio.HTML(BANNER, elem_id="banner")
|
| 251 |
# gradio.Markdown(HEADER_MD.replace("{model_num}", str(len(original_dfs["-1"]))), elem_classes="markdown-text")
|
| 252 |
|