pierreguillou
commited on
Commit
•
104001c
1
Parent(s):
6ec863b
Update files/functions.py
Browse files- files/functions.py +1 -1
files/functions.py
CHANGED
@@ -351,7 +351,7 @@ def pdf_to_images(uploaded_pdf):
|
|
351 |
else:
|
352 |
# path to the uploaded PDF
|
353 |
path_to_file = uploaded_pdf.name
|
354 |
-
filename = path_to_file
|
355 |
|
356 |
try:
|
357 |
PdfReader(path_to_file)
|
|
|
351 |
else:
|
352 |
# path to the uploaded PDF
|
353 |
path_to_file = uploaded_pdf.name
|
354 |
+
filename = path_to_file #.replace("/tmp/","")
|
355 |
|
356 |
try:
|
357 |
PdfReader(path_to_file)
|