artificialguybr commited on
Commit
71f68c1
·
verified ·
1 Parent(s): 9e7436f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,7 +35,7 @@ with gr.Blocks() as app:
35
  with gr.Accordion("PDF to Word"):
36
  pdf_input = gr.File(label="Upload PDF")
37
  convert_pdf_to_word = gr.Button("Convert to Word")
38
- word_output = gr.File(label="Download Word File", type="file")
39
 
40
  convert_pdf_to_word.click(pdf_to_word, inputs=[pdf_input], outputs=[word_output])
41
 
@@ -43,7 +43,7 @@ with gr.Blocks() as app:
43
  with gr.Accordion("Word to PDF"):
44
  word_input = gr.File(label="Upload Word")
45
  convert_word_to_pdf = gr.Button("Convert to PDF")
46
- pdf_output = gr.File(label="Download PDF File", type="file")
47
 
48
  convert_word_to_pdf.click(word_to_pdf, inputs=[word_input], outputs=[pdf_output])
49
 
 
35
  with gr.Accordion("PDF to Word"):
36
  pdf_input = gr.File(label="Upload PDF")
37
  convert_pdf_to_word = gr.Button("Convert to Word")
38
+ word_output = gr.File(label="Download Word File", type="filepath")
39
 
40
  convert_pdf_to_word.click(pdf_to_word, inputs=[pdf_input], outputs=[word_output])
41
 
 
43
  with gr.Accordion("Word to PDF"):
44
  word_input = gr.File(label="Upload Word")
45
  convert_word_to_pdf = gr.Button("Convert to PDF")
46
+ pdf_output = gr.File(label="Download PDF File", type="filepath")
47
 
48
  convert_word_to_pdf.click(word_to_pdf, inputs=[word_input], outputs=[pdf_output])
49