Spaces:
Running
on
Zero
Running
on
Zero
change tabs order, markdown result first
Browse files
app.py
CHANGED
|
@@ -148,13 +148,13 @@ with gr.Blocks(title="DeepSeek-OCR", theme=gr.themes.Soft()) as demo:
|
|
| 148 |
|
| 149 |
with gr.Column(scale=2):
|
| 150 |
with gr.Tabs():
|
|
|
|
|
|
|
| 151 |
with gr.TabItem("Annotated Image"):
|
| 152 |
output_image = gr.Image(
|
| 153 |
label="Result with Bounding Boxes", interactive=False
|
| 154 |
)
|
| 155 |
-
with gr.TabItem("
|
| 156 |
-
output_markdown = gr.Markdown(label="Markdown Formatted Result")
|
| 157 |
-
with gr.TabItem("Plain Text"):
|
| 158 |
output_text = gr.Textbox(
|
| 159 |
label="OCR Result (eval_mode == True)",
|
| 160 |
lines=20,
|
|
|
|
| 148 |
|
| 149 |
with gr.Column(scale=2):
|
| 150 |
with gr.Tabs():
|
| 151 |
+
with gr.TabItem("Markdown Output"):
|
| 152 |
+
output_markdown = gr.Markdown(label="Markdown Formatted Result")
|
| 153 |
with gr.TabItem("Annotated Image"):
|
| 154 |
output_image = gr.Image(
|
| 155 |
label="Result with Bounding Boxes", interactive=False
|
| 156 |
)
|
| 157 |
+
with gr.TabItem("Plain Text (Eval Mode)"):
|
|
|
|
|
|
|
| 158 |
output_text = gr.Textbox(
|
| 159 |
label="OCR Result (eval_mode == True)",
|
| 160 |
lines=20,
|