stephenmccartney1234 commited on
Commit
64d5c2f
·
verified ·
1 Parent(s): 037bf8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 1024
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()