Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3668,9 +3668,9 @@ async def send_product_image_with_caption(from_number: str, product: Dict[str, A
|
|
3668 |
details = generate_veterinary_product_response(product, user_context)
|
3669 |
image_url = product.get('Images', '').strip() if 'Images' in product else ''
|
3670 |
|
3671 |
-
# Force image URL for Respira Aid Plus
|
3672 |
if product_name.lower().strip() == "respira aid plus":
|
3673 |
-
image_url = "https://
|
3674 |
|
3675 |
logger.info(f"[Product] Processing image for product: {product_name}")
|
3676 |
logger.info(f"[Product] Image URL from CSV: {image_url}")
|
|
|
3668 |
details = generate_veterinary_product_response(product, user_context)
|
3669 |
image_url = product.get('Images', '').strip() if 'Images' in product else ''
|
3670 |
|
3671 |
+
# Force image URL for Respira Aid Plus (use cPanel public URL)
|
3672 |
if product_name.lower().strip() == "respira aid plus":
|
3673 |
+
image_url = "https://amgocus.com/uploads/images/Respira%20Aid%20Plus.jpg"
|
3674 |
|
3675 |
logger.info(f"[Product] Processing image for product: {product_name}")
|
3676 |
logger.info(f"[Product] Image URL from CSV: {image_url}")
|