diff --git a/css/main.css b/css/main.css index f5093274..8c3103a2 100644 --- a/css/main.css +++ b/css/main.css @@ -642,3 +642,11 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* { .options { z-index: 100 !important; } + +/*---------------------------------------------- + Increase the height of the evaluation table +----------------------------------------------*/ +#evaluation-table table { + max-height: none !important; + overflow-y: auto !important; +} diff --git a/modules/training.py b/modules/training.py index aaea2bd7..a320d842 100644 --- a/modules/training.py +++ b/modules/training.py @@ -156,7 +156,7 @@ def create_ui(): with gr.Column(): evaluation_log = gr.Markdown(value='') - evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True) + evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True, height=20000, elem_id='evaluation-table') with gr.Row(): save_comments = gr.Button('Save comments', elem_classes="small-button", interactive=not mu) refresh_table = gr.Button('Refresh the table', elem_classes="small-button", interactive=not mu)