firqaaa commited on
Commit
e48273f
1 Parent(s): e691ade

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -176,7 +176,8 @@ if uploaded_files:
176
  # Table Extraction
177
  # L = []
178
  output_list = []
179
-
 
180
  elements = partition_pdf(filename=pdf.name, strategy=strategy, infer_table_structure=True, model_name=model_name)
181
  with NamedTemporaryFile(dir=".", suffix=".json") as f:
182
  elements_to_json(elements, filename=f"{f.name.split('/')[-1]}")
 
176
  # Table Extraction
177
  # L = []
178
  output_list = []
179
+ print(pdf.name)
180
+ print(type(pdf.name))
181
  elements = partition_pdf(filename=pdf.name, strategy=strategy, infer_table_structure=True, model_name=model_name)
182
  with NamedTemporaryFile(dir=".", suffix=".json") as f:
183
  elements_to_json(elements, filename=f"{f.name.split('/')[-1]}")