Преглед на файлове

Update structured_extraction.py

Suraj Subramanian преди 2 месеца
родител
ревизия
ebccc0632e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      end-to-end-use-cases/structured_parser/src/structured_extraction.py

+ 1 - 1
end-to-end-use-cases/structured_parser/src/structured_extraction.py

@@ -504,7 +504,7 @@ def save_results(
             logger.info(f"Extracted table written to {outfile}")
 
         if export_excel:
-            output_path = output_dir / f"tables_{timestamp}.json"
+            output_path = output_dir / f"tables_{timestamp}.xlsx"
             export_csvs_to_excel_tabs(output_dir / f"tables_{timestamp}", output_path)
 
     # Save to SQL and vector databases