Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -287,7 +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.Row(
|
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,7 +347,8 @@ with gr.Blocks(css=css) as demo:
|
|
347 |
label="Image Size"
|
348 |
)
|
349 |
file_format = gr.Radio(["pdf", "docx"], label="File Format", value="pdf")
|
350 |
-
|
|
|
351 |
get_document_btn = gr.Button(value="Get Document", elem_classes="download-btn")
|
352 |
|
353 |
get_document_btn.click(
|
|
|
287 |
fn=lambda img, question, model: qwen_inference(model, img, question),
|
288 |
cache_examples=False,
|
289 |
)
|
290 |
+
with gr.Row():
|
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 |
+
|
351 |
+
with gr.Row():
|
352 |
get_document_btn = gr.Button(value="Get Document", elem_classes="download-btn")
|
353 |
|
354 |
get_document_btn.click(
|