Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def chat_with_pdf(content):
|
|
| 30 |
response.raise_for_status()
|
| 31 |
|
| 32 |
if response.iter_content:
|
| 33 |
-
max_chunk_size =
|
| 34 |
chat_response = ""
|
| 35 |
for chunk in response.iter_content(max_chunk_size):
|
| 36 |
text = chunk.decode()
|
|
|
|
| 30 |
response.raise_for_status()
|
| 31 |
|
| 32 |
if response.iter_content:
|
| 33 |
+
max_chunk_size = 1023
|
| 34 |
chat_response = ""
|
| 35 |
for chunk in response.iter_content(max_chunk_size):
|
| 36 |
text = chunk.decode()
|