Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2010,8 +2010,8 @@ async def handle_all_products_selection(from_number: str, selection: str, user_c
|
|
2010 |
current_menu='product_inquiry',
|
2011 |
current_menu_options=list(MENU_CONFIG['product_inquiry']['option_descriptions'].values())
|
2012 |
)
|
2013 |
-
|
2014 |
-
|
2015 |
else:
|
2016 |
send_whatsjet_message(from_number, "❌ Invalid selection. Please choose a valid product number.")
|
2017 |
except Exception as e:
|
|
|
2010 |
current_menu='product_inquiry',
|
2011 |
current_menu_options=list(MENU_CONFIG['product_inquiry']['option_descriptions'].values())
|
2012 |
)
|
2013 |
+
# Send image with caption (NEW)
|
2014 |
+
await send_product_image_with_caption(from_number, selected_product, user_context)
|
2015 |
else:
|
2016 |
send_whatsjet_message(from_number, "❌ Invalid selection. Please choose a valid product number.")
|
2017 |
except Exception as e:
|