--- title: Smart Category Detector emoji: 🏷️ colorFrom: blue colorTo: green sdk: gradio sdk_version: 6.9.0 app_file: app.py pinned: false --- # Smart Category Detector API Classifies short text (product titles, menu items, event names) into 66 categories across: - 📦 Products (electronics, clothing, food, etc.) - 🍔 Restaurant/Menu items (burgers, pizza, drinks, etc.) - 🎪 Events (sports, music, conferences, etc.) ## API Usage ### Single prediction ``` POST /run/predict {"data": ["Jamboo Burger with beef and Salad Tk 399.00"]} ``` ### Batch prediction ``` POST /run/batch_detect_categories {"data": ["Item 1\nItem 2\nItem 3"]} ```