Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def convert_document(doc_file, target_format):
|
|
| 63 |
base_name = os.path.splitext(os.path.basename(doc_file))[0]
|
| 64 |
|
| 65 |
# Output file name
|
| 66 |
-
output_file = f"
|
| 67 |
|
| 68 |
# Use pypandoc to convert the file
|
| 69 |
pypandoc.convert_file(
|
|
|
|
| 63 |
base_name = os.path.splitext(os.path.basename(doc_file))[0]
|
| 64 |
|
| 65 |
# Output file name
|
| 66 |
+
output_file = f"document_format_converter_{base_name}.{target_format.lower()}"
|
| 67 |
|
| 68 |
# Use pypandoc to convert the file
|
| 69 |
pypandoc.convert_file(
|