tomaarsen HF staff commited on
Commit
c05fcec
1 Parent(s): 8a9c4d0

Increase the `concurrency_limit` to try and avoid "Application too busy"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2174,7 +2174,7 @@ with gr.Blocks(css=css) as block:
2174
 
2175
  with gr.Row():
2176
  refresh_button = gr.Button("Refresh")
2177
- refresh_button.click(item["refresh"], inputs=None, outputs=dataframe)
2178
 
2179
  gr.Markdown(f"""
2180
  - **Total Datasets**: {NUM_DATASETS}
 
2174
 
2175
  with gr.Row():
2176
  refresh_button = gr.Button("Refresh")
2177
+ refresh_button.click(item["refresh"], inputs=None, outputs=dataframe, concurrency_limit=20)
2178
 
2179
  gr.Markdown(f"""
2180
  - **Total Datasets**: {NUM_DATASETS}