enpaiva commited on
Commit
a4cb188
Β·
verified Β·
1 Parent(s): f1e6b02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -335,19 +335,6 @@ if __name__ == "__main__":
335
  with gr.Row():
336
  # LEFT COLUMN - Controls and Input
337
  with gr.Column(scale=1, elem_classes=["panel-left"]):
338
-
339
- # Image Upload Section
340
- with gr.Group(elem_classes=["control-section"]):
341
- gr.HTML("<h3>πŸ“„ Image Input</h3>")
342
-
343
- input_img = gr.Image(
344
- label="Upload Document Image",
345
- type="pil",
346
- height=400,
347
- interactive=True
348
- )
349
-
350
- detect_btn = gr.Button("πŸ” Analyze Document", variant="primary", size="lg")
351
 
352
  # Model Section
353
  with gr.Group(elem_classes=["control-section"]):
@@ -371,6 +358,19 @@ if __name__ == "__main__":
371
  interactive=False,
372
  lines=2
373
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
374
 
375
  # Parameters Section
376
  with gr.Group(elem_classes=["control-section"]):
 
335
  with gr.Row():
336
  # LEFT COLUMN - Controls and Input
337
  with gr.Column(scale=1, elem_classes=["panel-left"]):
 
 
 
 
 
 
 
 
 
 
 
 
 
338
 
339
  # Model Section
340
  with gr.Group(elem_classes=["control-section"]):
 
358
  interactive=False,
359
  lines=2
360
  )
361
+
362
+ # Image Upload Section
363
+ with gr.Group(elem_classes=["control-section"]):
364
+ gr.HTML("<h3>πŸ“„ Image Input</h3>")
365
+
366
+ input_img = gr.Image(
367
+ label="Upload Document Image",
368
+ type="pil",
369
+ height=400,
370
+ interactive=True
371
+ )
372
+
373
+ detect_btn = gr.Button("πŸ” Analyze Document", variant="primary", size="lg")
374
 
375
  # Parameters Section
376
  with gr.Group(elem_classes=["control-section"]):