Update app.py
Browse files
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 =
|
| 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(
|