Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,12 +34,12 @@ with gr.Blocks() as demo:
|
|
| 34 |
with gr.Column():
|
| 35 |
gr.Markdown("### PDF to Word")
|
| 36 |
pdf_input = gr.File(label="Upload PDF")
|
| 37 |
-
word_output = gr.File(label="Download Word", type="
|
| 38 |
pdf_to_word_btn = gr.Button("Convert")
|
| 39 |
with gr.Column():
|
| 40 |
gr.Markdown("### Word to PDF")
|
| 41 |
word_input = gr.File(label="Upload Word")
|
| 42 |
-
pdf_output = gr.File(label="Download PDF", type="
|
| 43 |
word_to_pdf_btn = gr.Button("Convert")
|
| 44 |
|
| 45 |
pdf_to_word_btn.click(pdf_to_word, inputs=[pdf_input], outputs=[word_output])
|
|
|
|
| 34 |
with gr.Column():
|
| 35 |
gr.Markdown("### PDF to Word")
|
| 36 |
pdf_input = gr.File(label="Upload PDF")
|
| 37 |
+
word_output = gr.File(label="Download Word", type="binary")
|
| 38 |
pdf_to_word_btn = gr.Button("Convert")
|
| 39 |
with gr.Column():
|
| 40 |
gr.Markdown("### Word to PDF")
|
| 41 |
word_input = gr.File(label="Upload Word")
|
| 42 |
+
pdf_output = gr.File(label="Download PDF", type="binary")
|
| 43 |
word_to_pdf_btn = gr.Button("Convert")
|
| 44 |
|
| 45 |
pdf_to_word_btn.click(pdf_to_word, inputs=[pdf_input], outputs=[word_output])
|