Clémentine
commited on
Commit
•
d4aa996
1
Parent(s):
976f398
make faster thanks to no concurrency limit
Browse files- app.py +1 -3
- requirements.txt +1 -1
app.py
CHANGED
@@ -232,7 +232,6 @@ with demo:
|
|
232 |
search_bar,
|
233 |
],
|
234 |
leaderboard_table,
|
235 |
-
concurrency_limit=None,
|
236 |
)
|
237 |
for selector in [shown_columns, filter_columns_type, filter_columns_precision, filter_columns_size, deleted_models_visibility]:
|
238 |
selector.change(
|
@@ -248,7 +247,6 @@ with demo:
|
|
248 |
],
|
249 |
leaderboard_table,
|
250 |
queue=True,
|
251 |
-
concurrency_limit=None,
|
252 |
)
|
253 |
|
254 |
with gr.TabItem("📈 Metrics through time", elem_id="llm-benchmark-tab-table", id=4):
|
@@ -372,4 +370,4 @@ with demo:
|
|
372 |
scheduler = BackgroundScheduler()
|
373 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
374 |
scheduler.start()
|
375 |
-
demo.queue().launch()
|
|
|
232 |
search_bar,
|
233 |
],
|
234 |
leaderboard_table,
|
|
|
235 |
)
|
236 |
for selector in [shown_columns, filter_columns_type, filter_columns_precision, filter_columns_size, deleted_models_visibility]:
|
237 |
selector.change(
|
|
|
247 |
],
|
248 |
leaderboard_table,
|
249 |
queue=True,
|
|
|
250 |
)
|
251 |
|
252 |
with gr.TabItem("📈 Metrics through time", elem_id="llm-benchmark-tab-table", id=4):
|
|
|
370 |
scheduler = BackgroundScheduler()
|
371 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
372 |
scheduler.start()
|
373 |
+
demo.queue(default_concurrency_limit=40).launch()
|
requirements.txt
CHANGED
@@ -2,7 +2,7 @@ APScheduler==3.10.1
|
|
2 |
black==23.11.0
|
3 |
click==8.1.3
|
4 |
datasets==2.14.5
|
5 |
-
gradio==4.
|
6 |
gradio_client==0.7.0
|
7 |
huggingface-hub>=0.18.0
|
8 |
markdown-it-py==2.2.0
|
|
|
2 |
black==23.11.0
|
3 |
click==8.1.3
|
4 |
datasets==2.14.5
|
5 |
+
gradio==4.4.0
|
6 |
gradio_client==0.7.0
|
7 |
huggingface-hub>=0.18.0
|
8 |
markdown-it-py==2.2.0
|