Yaroslav95 commited on
Commit
045ea8a
·
1 Parent(s): f7bd3f0

update images

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -208,7 +208,10 @@ def render_html_page(chat_text):
208
  """
209
 
210
  for i, description in enumerate(product_descriptions):
211
- if "Doesn't support custom size" in description:
 
 
 
212
  continue
213
  image = images[i % len(images)]
214
  with open(image, "rb") as img_file:
 
208
  """
209
 
210
  for i, description in enumerate(product_descriptions):
211
+ if (
212
+ "Doesn't support" in description.lower()
213
+ or "Not available" in description.lower()
214
+ ):
215
  continue
216
  image = images[i % len(images)]
217
  with open(image, "rb") as img_file: