Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,7 +149,7 @@ def retrieve_document(query):
|
|
| 149 |
|
| 150 |
response = requests.get(API_URL_FILES, params={"file":filename})
|
| 151 |
|
| 152 |
-
print(response)
|
| 153 |
|
| 154 |
if response.status_code == 200:
|
| 155 |
with open(filename, "wb") as f:
|
|
|
|
| 149 |
|
| 150 |
response = requests.get(API_URL_FILES, params={"file":filename})
|
| 151 |
|
| 152 |
+
print(response.content)
|
| 153 |
|
| 154 |
if response.status_code == 200:
|
| 155 |
with open(filename, "wb") as f:
|