Spaces:
Runtime error
Runtime error
pierreguillou
commited on
Commit
·
f5cfa9e
1
Parent(s):
86a11b0
Update files/functions.py
Browse files- files/functions.py +1 -1
files/functions.py
CHANGED
@@ -411,7 +411,7 @@ def pdf_to_images(uploaded_pdf):
|
|
411 |
else:
|
412 |
# path to the uploaded PDF
|
413 |
path_to_file = uploaded_pdf.name
|
414 |
-
filename = path_to_file.replace("/tmp/","")
|
415 |
|
416 |
try:
|
417 |
PdfReader(path_to_file)
|
|
|
411 |
else:
|
412 |
# path to the uploaded PDF
|
413 |
path_to_file = uploaded_pdf.name
|
414 |
+
filename = path_to_file# .replace("/tmp/","")
|
415 |
|
416 |
try:
|
417 |
PdfReader(path_to_file)
|