pierreguillou
commited on
Commit
•
db665a2
1
Parent(s):
e21c1b2
Update files/functions.py
Browse files- files/functions.py +1 -1
files/functions.py
CHANGED
@@ -397,7 +397,7 @@ def pdf_to_images(uploaded_pdf):
|
|
397 |
else:
|
398 |
# path to the uploaded PDF
|
399 |
path_to_file = uploaded_pdf.name
|
400 |
-
filename = path_to_file
|
401 |
|
402 |
try:
|
403 |
PdfReader(path_to_file)
|
|
|
397 |
else:
|
398 |
# path to the uploaded PDF
|
399 |
path_to_file = uploaded_pdf.name
|
400 |
+
filename = path_to_file #.replace("/tmp/","")
|
401 |
|
402 |
try:
|
403 |
PdfReader(path_to_file)
|