Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def request_model(model_text, chbcoco2017):
|
|
102 |
except Exception as e:
|
103 |
return styled_error(f"Error submitting request!")
|
104 |
|
105 |
-
with gr.Blocks() as demo:
|
106 |
gr.HTML(BANNER, elem_id="banner")
|
107 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
108 |
|
@@ -145,4 +145,4 @@ with gr.Blocks() as demo:
|
|
145 |
show_copy_button=True,
|
146 |
)
|
147 |
|
148 |
-
demo.launch(
|
|
|
102 |
except Exception as e:
|
103 |
return styled_error(f"Error submitting request!")
|
104 |
|
105 |
+
with gr.Blocks(css=LEADERBOARD_CSS) as demo:
|
106 |
gr.HTML(BANNER, elem_id="banner")
|
107 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
108 |
|
|
|
145 |
show_copy_button=True,
|
146 |
)
|
147 |
|
148 |
+
demo.launch(ssr_mode=False)
|