Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -78,6 +78,7 @@ def upload_file(file):
|
|
78 |
# # return jsonify({'text': text})
|
79 |
if file:
|
80 |
pdf_file = file.name
|
|
|
81 |
text = ""
|
82 |
with pdfplumber.open(pdf_file) as pdf:
|
83 |
cnt = 0
|
|
|
78 |
# # return jsonify({'text': text})
|
79 |
if file:
|
80 |
pdf_file = file.name
|
81 |
+
print(file, pdf_file)
|
82 |
text = ""
|
83 |
with pdfplumber.open(pdf_file) as pdf:
|
84 |
cnt = 0
|