Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -348,8 +348,8 @@ 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 |
-
|
352 |
-
|
353 |
|
354 |
get_document_btn.click(
|
355 |
generate_document, [input_media, output_text, file_format, font_choice, font_size, line_spacing, alignment, image_size], gr.File(label="Download Document")
|
|
|
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(
|
355 |
generate_document, [input_media, output_text, file_format, font_choice, font_size, line_spacing, alignment, image_size], gr.File(label="Download Document")
|