Update app.py
Browse files
app.py
CHANGED
|
@@ -2976,7 +2976,8 @@ def process_pdf():
|
|
| 2976 |
total_time = time.time() - start_time
|
| 2977 |
print(f"-----------------------------Execution Time save_pdf_to_generated_dir() : {total_time}-----------------------------\n")
|
| 2978 |
start_time = time.time()
|
| 2979 |
-
output_path = extract_images_from_pdf(pdf_stream)
|
|
|
|
| 2980 |
print(" --------------------------------------- zip_path_str ---------------------------------------", output_path)
|
| 2981 |
total_time = time.time() - start_time
|
| 2982 |
print(f"-----------------------------Execution Time extract_images_from_pdf() : {total_time}-----------------------------\n")
|
|
|
|
| 2976 |
total_time = time.time() - start_time
|
| 2977 |
print(f"-----------------------------Execution Time save_pdf_to_generated_dir() : {total_time}-----------------------------\n")
|
| 2978 |
start_time = time.time()
|
| 2979 |
+
# output_path = extract_images_from_pdf(pdf_stream)
|
| 2980 |
+
output_path = extract_images_from_pdf(pdf_stream,project_folder)
|
| 2981 |
print(" --------------------------------------- zip_path_str ---------------------------------------", output_path)
|
| 2982 |
total_time = time.time() - start_time
|
| 2983 |
print(f"-----------------------------Execution Time extract_images_from_pdf() : {total_time}-----------------------------\n")
|