Spaces:
Sleeping
Sleeping
fix: remove max_lines cap so Generated Q&A is scrollable
Browse files
app.py
CHANGED
|
@@ -13649,8 +13649,8 @@ def create_ui():
|
|
| 13649 |
input_file = gr.File(label="Or upload .txt", file_types=[".txt"], type="filepath", scale=1, height=80)
|
| 13650 |
download_output = gr.DownloadButton(label="Download Q&A gen Result (.jsonl)", value=None, size="sm", variant="secondary", scale=1)
|
| 13651 |
with gr.Accordion("Pipeline Output", open=False, elem_id="pipeline-accordion"):
|
| 13652 |
-
log_output = gr.Textbox(label="Log", lines=
|
| 13653 |
-
preview_output = gr.Textbox(label="Generated Q&A", lines=
|
| 13654 |
|
| 13655 |
# --- Right: Backend + Settings + Generate ---
|
| 13656 |
with gr.Column(scale=1):
|
|
|
|
| 13649 |
input_file = gr.File(label="Or upload .txt", file_types=[".txt"], type="filepath", scale=1, height=80)
|
| 13650 |
download_output = gr.DownloadButton(label="Download Q&A gen Result (.jsonl)", value=None, size="sm", variant="secondary", scale=1)
|
| 13651 |
with gr.Accordion("Pipeline Output", open=False, elem_id="pipeline-accordion"):
|
| 13652 |
+
log_output = gr.Textbox(label="Log", lines=6, interactive=False, elem_id="webgpu-log")
|
| 13653 |
+
preview_output = gr.Textbox(label="Generated Q&A", lines=10, interactive=False, elem_id="webgpu-preview")
|
| 13654 |
|
| 13655 |
# --- Right: Backend + Settings + Generate ---
|
| 13656 |
with gr.Column(scale=1):
|