yangtb24 commited on
Commit
0b44cfe
·
verified ·
1 Parent(s): 7dae4a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -973,7 +973,7 @@ def handsome_chat_completions():
973
 
974
  markdown_image_link = create_base64_markdown_image(image_url)
975
  if image_url:
976
- chunk_size = 2048
977
  for i in range(0, len(markdown_image_link), chunk_size):
978
  chunk = markdown_image_link[i:i + chunk_size]
979
  chunk_data = {
 
973
 
974
  markdown_image_link = create_base64_markdown_image(image_url)
975
  if image_url:
976
+ chunk_size = 8192
977
  for i in range(0, len(markdown_image_link), chunk_size):
978
  chunk = markdown_image_link[i:i + chunk_size]
979
  chunk_data = {