Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,8 +64,8 @@ with gr.Blocks() as app:
|
|
| 64 |
label="Extracted Text",
|
| 65 |
interactive=True,
|
| 66 |
placeholder="Extracted text will appear here...",
|
| 67 |
-
lines=
|
| 68 |
-
max_lines=
|
| 69 |
autoscroll=False, # 设置自动滚动到底部
|
| 70 |
show_copy_button=True,
|
| 71 |
elem_id="text-output"
|
|
|
|
| 64 |
label="Extracted Text",
|
| 65 |
interactive=True,
|
| 66 |
placeholder="Extracted text will appear here...",
|
| 67 |
+
lines=40,
|
| 68 |
+
max_lines=40, # 设置最大行数,如果超过将显示滚动条
|
| 69 |
autoscroll=False, # 设置自动滚动到底部
|
| 70 |
show_copy_button=True,
|
| 71 |
elem_id="text-output"
|