mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Use default gr.Dataframe for evaluation table
This commit is contained in:
parent
f481ce3dd8
commit
262f8ae5bb
@ -648,11 +648,3 @@ div.svelte-362y77>*, div.svelte-362y77>.form>* {
|
|||||||
.options {
|
.options {
|
||||||
z-index: 100 !important;
|
z-index: 100 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------
|
|
||||||
Increase the height of the evaluation table
|
|
||||||
---------------------------------------------- */
|
|
||||||
#evaluation-table table {
|
|
||||||
max-height: none !important;
|
|
||||||
overflow-y: auto !important;
|
|
||||||
}
|
|
||||||
|
@ -175,7 +175,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=16000, elem_id='evaluation-table')
|
evaluation_table = gr.Dataframe(value=generate_markdown_table(), interactive=True)
|
||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user