Increase the evaluation table height

This commit is contained in:
oobabooga 2023-10-16 12:55:35 -07:00
parent 8ea554bc19
commit f17f7a6913

View File

@ -156,7 +156,7 @@ def create_ui():
with gr.Column(): with gr.Column():
evaluation_log = gr.Markdown(value='') evaluation_log = gr.Markdown(value='')
evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True, height=2000, elem_id='evaluation-table') evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True, height=16000, elem_id='evaluation-table')
with gr.Row(): with gr.Row():
save_comments = gr.Button('Save comments', elem_classes="small-button", interactive=not mu) 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) refresh_table = gr.Button('Refresh the table', elem_classes="small-button", interactive=not mu)