Skip to content

Commit 262f8ae

Browse files
committed
Use default gr.Dataframe for evaluation table
1 parent f481ce3 commit 262f8ae

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

css/main.css

-8
Original file line numberDiff line numberDiff line change
@@ -648,11 +648,3 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
648648
.options {
649649
z-index: 100 !important;
650650
}
651-
652-
/* ----------------------------------------------
653-
Increase the height of the evaluation table
654-
---------------------------------------------- */
655-
#evaluation-table table {
656-
max-height: none !important;
657-
overflow-y: auto !important;
658-
}

modules/training.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def create_ui():
175175
with gr.Column():
176176
evaluation_log = gr.Markdown(value='')
177177

178-
evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True, height=16000, elem_id='evaluation-table')
178+
evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True)
179179
with gr.Row():
180180
save_comments = gr.Button('Save comments', elem_classes="small-button", interactive=not mu)
181181
refresh_table = gr.Button('Refresh the table', elem_classes="small-button", interactive=not mu)

0 commit comments

Comments
 (0)