Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def upload_file(filepath):
|
|
55 |
excel_name = Path(filepath).stem + ".xlsx"
|
56 |
# load pdf
|
57 |
doc = fitz.open(filepath)
|
58 |
-
create_excel(doc,excel_name)
|
59 |
# now create the excel file
|
60 |
return [gr.UploadButton(visible=False), gr.DownloadButton(label=f"Descarga {excel_name}", value=excel_name, visible=True)]
|
61 |
|
|
|
55 |
excel_name = Path(filepath).stem + ".xlsx"
|
56 |
# load pdf
|
57 |
doc = fitz.open(filepath)
|
58 |
+
#create_excel(doc,excel_name)
|
59 |
# now create the excel file
|
60 |
return [gr.UploadButton(visible=False), gr.DownloadButton(label=f"Descarga {excel_name}", value=excel_name, visible=True)]
|
61 |
|