Spaces:
Sleeping
Sleeping
fix: remove max_lines cap so Generated Q&A is scrollable
Browse files13648 unmodified lines136491365013651136521365313654136551365613648 unmodified linesinput_file = gr.File(label="Or upload .txt", file_types=[".txt"], type="filepath", scale=1, height=80)download_output = gr.DownloadButton(label="Download Q&A gen Result (.jsonl)", value=None, size="sm", variant="secondary", scale=1)with gr.Accordion("Pipeline Output", open=False, elem_id="pipeline-accordion"):log_output = gr.Textbox(label="Log", lines=4, max_lines=8, interactive=False, elem_id="webgpu-log")preview_output = gr.Textbox(label="Generated Q&A", lines=4, max_lines=8, interactive=False, elem_id="webgpu-preview")# --- Right: Backend + Settings + Generate ---with gr.Column(scale=1):13648 unmodified lines136491365013651136521365313654136551365613648 unmodified linesinput_file = gr.File(label="Or upload .txt", file_types=[".txt"], type="filepath", scale=1, height=80)download_output = gr.DownloadButton(label="Download Q&A gen Result (.jsonl)", value=None, size="sm", variant="secondary", scale=1)with gr.Accordion("Pipeline Output", open=False, elem_id="pipeline-accordion"):log_output = gr.Textbox(label="Log", lines=6, interactive=False, elem_id="webgpu-log")preview_output = gr.Textbox(label="Generated Q&A", lines=10, interactive=False, elem_id="webgpu-preview")# --- Right: Backend + Settings + Generate ---with gr.Column(scale=1):
app.py+2-2