JuanMa360 commited on
Commit
31a8ed3
·
1 Parent(s): cff17c0

refactor: pool

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -130,6 +130,7 @@ def calculate_is_render(processed_image):
130
  def generate_answer(image):
131
 
132
  processed_image = image
 
133
 
134
  image_data = {
135
  "image_context": None,
 
130
  def generate_answer(image):
131
 
132
  processed_image = image
133
+ processed_image = processed_image.resize((256, 256))
134
 
135
  image_data = {
136
  "image_context": None,