Spaces:
Runtime error
Runtime error
Commit ·
7647c11
1
Parent(s): 01f51d7
Update app.py
Browse files
app.py
CHANGED
|
@@ -252,8 +252,7 @@ def pdfv2(files, chainType):
|
|
| 252 |
print(files.name)
|
| 253 |
os.rename(files.name, new_path)
|
| 254 |
|
| 255 |
-
|
| 256 |
-
output = extractScannedPDF(files.name, chainType)
|
| 257 |
|
| 258 |
return output
|
| 259 |
|
|
|
|
| 252 |
print(files.name)
|
| 253 |
os.rename(files.name, new_path)
|
| 254 |
|
| 255 |
+
output = extractScannedPDF(new_path, chainType)
|
|
|
|
| 256 |
|
| 257 |
return output
|
| 258 |
|