Marthee commited on
Commit
d113863
·
verified ·
1 Parent(s): 6fa8043

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def process():
34
  filePath = filePath.replace('?dl=0', '?dl=1')
35
 
36
  # Download the PDF
37
- response = requests.get(pdf_link)
38
  with open('downloaded_file.pdf', 'wb') as file:
39
  file.write(response.content)
40
  print(response.content)
 
34
  filePath = filePath.replace('?dl=0', '?dl=1')
35
 
36
  # Download the PDF
37
+ response = requests.get(filePath)
38
  with open('downloaded_file.pdf', 'wb') as file:
39
  file.write(response.content)
40
  print(response.content)