Steveeeeeeen HF staff commited on
Commit
6e68989
·
verified ·
1 Parent(s): e4f1e87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(share=True)
 
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)