Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3739,6 +3739,10 @@ async def send_product_image_with_caption(from_number: str, product: Dict[str, A
|
|
3739 |
details = generate_veterinary_product_response(product, user_context)
|
3740 |
image_url = product.get('Images', '').strip() if 'Images' in product else ''
|
3741 |
|
|
|
|
|
|
|
|
|
3742 |
logger.info(f"[Product] Processing image for product: {product_name}")
|
3743 |
logger.info(f"[Product] Image URL from CSV: {image_url}")
|
3744 |
|
|
|
3739 |
details = generate_veterinary_product_response(product, user_context)
|
3740 |
image_url = product.get('Images', '').strip() if 'Images' in product else ''
|
3741 |
|
3742 |
+
# Force image URL for Respira Aid Plus
|
3743 |
+
if product_name.lower().strip() == "respira aid plus":
|
3744 |
+
image_url = "https://i.postimg.cc/g2wyT2gj/Respira-Aid-Plus.jpg"
|
3745 |
+
|
3746 |
logger.info(f"[Product] Processing image for product: {product_name}")
|
3747 |
logger.info(f"[Product] Image URL from CSV: {image_url}")
|
3748 |
|