GianJSX commited on
Commit
61039b2
1 Parent(s): af66d69

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def process_images(msg: cl.Message):
18
  image_bytes = images[0].content # take the first image just for demo purposes
19
 
20
  # check the size of the image, max 1mb
21
- if len(image_bytes) > 1000000:
22
  return "too_large"
23
 
24
  # we need base64 encoded image
 
18
  image_bytes = images[0].content # take the first image just for demo purposes
19
 
20
  # check the size of the image, max 1mb
21
+ if len(image_bytes) > 5000000:
22
  return "too_large"
23
 
24
  # we need base64 encoded image