prithivMLmods commited on
Commit
6ae6176
·
verified ·
1 Parent(s): 9fdd14b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -287,8 +287,7 @@ with gr.Blocks(css=css) as demo:
287
  fn=lambda img, question, model: qwen_inference(model, img, question),
288
  cache_examples=False,
289
  )
290
- with gr.Accordion("Document Settings ⚙️", open=False):
291
- with gr.Row():
292
  with gr.Column():
293
  line_spacing = gr.Dropdown(
294
  choices=[0.5, 1.0, 1.15, 1.5, 2.0, 2.5, 3.0],
@@ -348,7 +347,7 @@ with gr.Blocks(css=css) as demo:
348
  label="Image Size"
349
  )
350
  file_format = gr.Radio(["pdf", "docx"], label="File Format", value="pdf")
351
- with gr.Row():
352
  get_document_btn = gr.Button(value="Get Document", elem_classes="download-btn")
353
 
354
  get_document_btn.click(
 
287
  fn=lambda img, question, model: qwen_inference(model, img, question),
288
  cache_examples=False,
289
  )
290
+ with gr.Row("Document Settings ⚙️", open=False):
 
291
  with gr.Column():
292
  line_spacing = gr.Dropdown(
293
  choices=[0.5, 1.0, 1.15, 1.5, 2.0, 2.5, 3.0],
 
347
  label="Image Size"
348
  )
349
  file_format = gr.Radio(["pdf", "docx"], label="File Format", value="pdf")
350
+ with gr.Row():
351
  get_document_btn = gr.Button(value="Get Document", elem_classes="download-btn")
352
 
353
  get_document_btn.click(