Spaces:
Runtime error
Runtime error
Merge branch 'main' into hf-ui-demo
Browse files
llama_lora/ui/inference_ui.py
CHANGED
@@ -494,7 +494,7 @@ def inference_ui():
|
|
494 |
lines=inference_output_lines, label="Output", elem_id="inference_output")
|
495 |
inference_output.style(show_copy_button=True)
|
496 |
|
497 |
-
with gr.Row(elem_id="inference_flagging_group"):
|
498 |
output_for_flagging = gr.Textbox(
|
499 |
interactive=False, visible=False,
|
500 |
elem_id="inference_output_for_flagging")
|
|
|
494 |
lines=inference_output_lines, label="Output", elem_id="inference_output")
|
495 |
inference_output.style(show_copy_button=True)
|
496 |
|
497 |
+
with gr.Row(elem_id="inference_flagging_group", variant="panel"):
|
498 |
output_for_flagging = gr.Textbox(
|
499 |
interactive=False, visible=False,
|
500 |
elem_id="inference_output_for_flagging")
|
llama_lora/ui/main_page.py
CHANGED
@@ -400,6 +400,9 @@ def main_page_custom_css():
|
|
400 |
|
401 |
#inference_flagging_group {
|
402 |
position: relative;
|
|
|
|
|
|
|
403 |
}
|
404 |
#inference_flag_output {
|
405 |
min-height: 1px !important;
|
|
|
400 |
|
401 |
#inference_flagging_group {
|
402 |
position: relative;
|
403 |
+
margin-top: -8px;
|
404 |
+
margin-bottom: -8px;
|
405 |
+
gap: calc(var(--layout-gap) / 2);
|
406 |
}
|
407 |
#inference_flag_output {
|
408 |
min-height: 1px !important;
|