Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def app_outputs(uploaded_pdf):
|
|
99 |
csv_files.append(gr.File.update(value=csv_file, visible=True))
|
100 |
df[i].to_csv(csv_file, encoding="utf-8", index=False)
|
101 |
|
102 |
-
|
103 |
img_files, images, csv_files = [""] * max_imgboxes, [""] * max_imgboxes, [""] * max_imgboxes
|
104 |
img_files[0], img_files[1] = image_blank, image_blank
|
105 |
images[0], images[1] = open_image(image_blank), open_image(image_blank)
|
|
|
99 |
csv_files.append(gr.File.update(value=csv_file, visible=True))
|
100 |
df[i].to_csv(csv_file, encoding="utf-8", index=False)
|
101 |
|
102 |
+
else:
|
103 |
img_files, images, csv_files = [""] * max_imgboxes, [""] * max_imgboxes, [""] * max_imgboxes
|
104 |
img_files[0], img_files[1] = image_blank, image_blank
|
105 |
images[0], images[1] = open_image(image_blank), open_image(image_blank)
|