Spaces:
Paused
Paused
Update app.py
Browse files
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(
|
| 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)
|