vermen commited on
Commit
cd49198
·
verified ·
1 Parent(s): e563ea0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -53,6 +53,7 @@ def upload_file(filepath):
53
  name = Path(filepath).name
54
  # load pdf
55
  doc = fitz.open(filepath)
 
56
  df_table = create_excel(doc)
57
  # now create the excel file
58
  return [gr.UploadButton(visible=False), gr.DownloadButton(label=f"Download tabla.xlsx", value=df_table, visible=True)]
 
53
  name = Path(filepath).name
54
  # load pdf
55
  doc = fitz.open(filepath)
56
+ print(doc)
57
  df_table = create_excel(doc)
58
  # now create the excel file
59
  return [gr.UploadButton(visible=False), gr.DownloadButton(label=f"Download tabla.xlsx", value=df_table, visible=True)]