axiilay commited on
Commit
f608959
·
1 Parent(s): a7d8dfa

change tabs order, markdown result first

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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("Markdown Output"):
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,