omgy commited on
Commit
356b7eb
·
verified ·
1 Parent(s): c7c2fb0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def enhance_document():
153
  print("Creating output document...", file=sys.stderr)
154
 
155
  # Choose output format: keep same as input if docx/pdf, else default to docx
156
- output_format = file_ext if file_ext in ['.docx', '.pdf'] else '.docx'
157
 
158
  # ALWAYS treat processed_content as LaTeX for Pandoc
159
  output_file = doc_converter.create_document(
 
153
  print("Creating output document...", file=sys.stderr)
154
 
155
  # Choose output format: keep same as input if docx/pdf, else default to docx
156
+ output_format = '.docx'
157
 
158
  # ALWAYS treat processed_content as LaTeX for Pandoc
159
  output_file = doc_converter.create_document(