--- title: ShopAI emoji: 🌖 colorFrom: purple colorTo: indigo sdk: gradio sdk_version: 5.33.1 app_file: app.py pinned: false license: mit short_description: 'Small-Business tool for recording and analyzing sales ' tag_name: agent-demo-track --- # agent-demo-track # ShopAi ShopAi is an AI-Agent business tool that helps you manage sales, expenses, credits, and inventory using a simple web interface. You can interact with it using text or voice commands. ## Features - **Record Sales:** Log sales by typing or speaking commands like `Sold 5 soaps at 10 each` or `Sold 3 items of pen`. - **Sales Summaries:** Instantly view summaries for today, this week, this month, or any specific date. - **Export Sales Data:** Export all sales records to a CSV file for offline analysis. - **Manage Items:** Add or update items with cost and selling price using commands like `Add item soap cost 7 sell 10`. - **Business Analytics:** Get insights on revenue, profit, top-selling items, and more. - **Expense & Credit Tracking:** Record expenses and customer credits easily. ## Usage Examples - `Add item soap cost 7 sell 10` - `Sold 5 items of soap` - `Show today's sales` - `Export sales` - `Expense rent 5000` - `Credit Ramesh 200` - `Show analytics` ## Requirements - Python 3.8+ - gradio - openai-whisper - torch - soundfile ## Notes - For best performance, keep audio recordings short (Whisper is slow on CPU). - SQLite is used for storage; for heavy multi-user use, consider PostgreSQL. - All data is stored in `sales.db` in the Space's working directory. --- **Enjoy using ShopAi!** Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference