Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
adding count of models in evaluation queue and finished status
Browse files
app.py
CHANGED
@@ -350,7 +350,7 @@ with demo:
|
|
350 |
gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
|
351 |
|
352 |
with gr.Column():
|
353 |
-
with gr.Accordion("β
Finished Evaluations", open=False):
|
354 |
with gr.Row():
|
355 |
finished_eval_table = gr.components.Dataframe(
|
356 |
value=finished_eval_queue_df,
|
@@ -358,7 +358,7 @@ with demo:
|
|
358 |
datatype=EVAL_TYPES,
|
359 |
max_rows=5,
|
360 |
)
|
361 |
-
with gr.Accordion("π Running Evaluation Queue", open=False):
|
362 |
with gr.Row():
|
363 |
running_eval_table = gr.components.Dataframe(
|
364 |
value=running_eval_queue_df,
|
@@ -367,7 +367,7 @@ with demo:
|
|
367 |
max_rows=5,
|
368 |
)
|
369 |
|
370 |
-
with gr.Accordion("β³ Pending Evaluation Queue", open=False):
|
371 |
with gr.Row():
|
372 |
pending_eval_table = gr.components.Dataframe(
|
373 |
value=pending_eval_queue_df,
|
|
|
350 |
gr.Markdown(EVALUATION_QUEUE_TEXT, elem_classes="markdown-text")
|
351 |
|
352 |
with gr.Column():
|
353 |
+
with gr.Accordion(f"β
Finished Evaluations: {len(finished_eval_queue_df)}", open=False):
|
354 |
with gr.Row():
|
355 |
finished_eval_table = gr.components.Dataframe(
|
356 |
value=finished_eval_queue_df,
|
|
|
358 |
datatype=EVAL_TYPES,
|
359 |
max_rows=5,
|
360 |
)
|
361 |
+
with gr.Accordion(f"π Running Evaluation Queue: {len(running_eval_queue_df)}", open=False):
|
362 |
with gr.Row():
|
363 |
running_eval_table = gr.components.Dataframe(
|
364 |
value=running_eval_queue_df,
|
|
|
367 |
max_rows=5,
|
368 |
)
|
369 |
|
370 |
+
with gr.Accordion(f"β³ Pending Evaluation Queue: {len(pending_eval_queue_df)}", open=False):
|
371 |
with gr.Row():
|
372 |
pending_eval_table = gr.components.Dataframe(
|
373 |
value=pending_eval_queue_df,
|