Spaces:
Running
Running
Update main.py
Browse files2337 unmodified lines2338233923402341234223431 unmodified line2345234623472348234923502337 unmodified linesreturn "Hello! How can I help you? Ask me about products, orders, or store info.", None# βββ PRODUCT QUERY DETECTION βββproduct_keywords = ["price", "cost", "stock", "available", "availability","inventory", "product", "item", "model", "sku",1 unmodified line"in stock", "is there", "have you got"]if any(kw in user_message.lower() for kw in product_keywords):return ("For product availability and pricing, please use the search bar on our store page. ""You can also browse our categories there. I'm here to help with orders, policies, and other questions.",2337 unmodified lines23382339234023412342234323441 unmodified line23462347234823492350235123522337 unmodified linesreturn "Hello! How can I help you? Ask me about products, orders, or store info.", None# βββ PRODUCT QUERY DETECTION βββis_product_query = False # <-- ADD THIS LINEproduct_keywords = ["price", "cost", "stock", "available", "availability","inventory", "product", "item", "model", "sku",1 unmodified line"in stock", "is there", "have you got"]if any(kw in user_message.lower() for kw in product_keywords):is_product_query = True # set flagreturn ("For product availability and pricing, please use the search bar on our store page. ""You can also browse our categories there. I'm here to help with orders, policies, and other questions.",
main.py+2