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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -336,6 +336,19 @@ if __name__ == "__main__":
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"]):
341
  gr.HTML("<h3>πŸ€– Model Configuration</h3>")
@@ -359,19 +372,6 @@ if __name__ == "__main__":
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"]):
377
  gr.HTML("<h3>βš™οΈ Detection Parameters</h3>")
 
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"]):
354
  gr.HTML("<h3>πŸ€– Model Configuration</h3>")
 
372
  lines=2
373
  )
374
 
 
 
 
 
 
 
 
 
 
 
 
 
 
375
  # Parameters Section
376
  with gr.Group(elem_classes=["control-section"]):
377
  gr.HTML("<h3>βš™οΈ Detection Parameters</h3>")