enpaiva commited on
Commit
9795c79
Β·
verified Β·
1 Parent(s): fc2ea23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -351,7 +351,7 @@ if __name__ == "__main__":
351
  interactive=True
352
  )
353
 
354
- gr.HTML("<br><h3>πŸ€– Model Selection</h3>")
355
  # 2. Model Selection (second, without buttons)
356
  model_dropdown = gr.Dropdown(
357
  choices=list(MODELS.keys()),
@@ -361,7 +361,7 @@ if __name__ == "__main__":
361
  interactive=True
362
  )
363
 
364
- gr.HTML("<br><h3>βš™οΈ Parameters</h3>")
365
  # 3. All parameters together (third)
366
  with gr.Row():
367
  conf_threshold = gr.Slider(
@@ -384,7 +384,7 @@ if __name__ == "__main__":
384
  label="Transparency", scale=1
385
  )
386
 
387
- gr.HTML("<br>")
388
  # 4. Analyze button (last)
389
  analyze_btn = gr.Button("πŸ” Analyze Document", variant="primary", size="lg")
390
 
@@ -409,7 +409,7 @@ if __name__ == "__main__":
409
  )
410
 
411
  # Labels toggle (independent control)
412
- gr.HTML("<h4>🎨 Visualization</h4>")
413
  show_labels_checkbox = gr.Checkbox(
414
  value=True,
415
  label="Show Class Labels",
 
351
  interactive=True
352
  )
353
 
354
+ # gr.HTML("<br><h3>πŸ€– Model Selection</h3>")
355
  # 2. Model Selection (second, without buttons)
356
  model_dropdown = gr.Dropdown(
357
  choices=list(MODELS.keys()),
 
361
  interactive=True
362
  )
363
 
364
+ # gr.HTML("<br><h3>βš™οΈ Parameters</h3>")
365
  # 3. All parameters together (third)
366
  with gr.Row():
367
  conf_threshold = gr.Slider(
 
384
  label="Transparency", scale=1
385
  )
386
 
387
+ # gr.HTML("<br>")
388
  # 4. Analyze button (last)
389
  analyze_btn = gr.Button("πŸ” Analyze Document", variant="primary", size="lg")
390
 
 
409
  )
410
 
411
  # Labels toggle (independent control)
412
+ # gr.HTML("<h4>🎨 Visualization</h4>")
413
  show_labels_checkbox = gr.Checkbox(
414
  value=True,
415
  label="Show Class Labels",