Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -755,7 +755,7 @@ async def convert_file_to_txt(
|
|
755 |
html_content = convert_with_pandoc(input_filename, input_format)
|
756 |
|
757 |
if ext == '.docx':
|
758 |
-
|
759 |
|
760 |
# Nettoyage et extraction des images
|
761 |
image_counter = [1]
|
|
|
755 |
html_content = convert_with_pandoc(input_filename, input_format)
|
756 |
|
757 |
if ext == '.docx':
|
758 |
+
logging.debug(f"DEBUG CONVERT_TO_TXT (.docx): HTML après conversion Pandoc : {html_content[:500]}...")
|
759 |
|
760 |
# Nettoyage et extraction des images
|
761 |
image_counter = [1]
|