Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,8 +63,7 @@ def findRealProb(text):
|
|
| 63 |
|
| 64 |
def upload_file(file):
|
| 65 |
if file:
|
| 66 |
-
|
| 67 |
-
pdf_file = Path(file.name)
|
| 68 |
text = ""
|
| 69 |
with pdfplumber.open(pdf_file) as pdf:
|
| 70 |
cnt = 0
|
|
|
|
| 63 |
|
| 64 |
def upload_file(file):
|
| 65 |
if file:
|
| 66 |
+
pdf_file = file.name
|
|
|
|
| 67 |
text = ""
|
| 68 |
with pdfplumber.open(pdf_file) as pdf:
|
| 69 |
cnt = 0
|