Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def run_GOT(pdf_file):
|
|
51 |
|
52 |
try:
|
53 |
for i, image in enumerate(images):
|
54 |
-
image_path = os.path.join(UPLOAD_FOLDER, f"{unique_id}_page_{i+1}.
|
55 |
image.save(image_path)
|
56 |
|
57 |
result_path = os.path.join(RESULTS_FOLDER, f"{unique_id}_page_{i+1}.html")
|
|
|
51 |
|
52 |
try:
|
53 |
for i, image in enumerate(images):
|
54 |
+
image_path = os.path.join(UPLOAD_FOLDER, f"{unique_id}_page_{i+1}.jpg")
|
55 |
image.save(image_path)
|
56 |
|
57 |
result_path = os.path.join(RESULTS_FOLDER, f"{unique_id}_page_{i+1}.html")
|