Just a quick spin using flask, a simple python based AI assistant for café environments, answering menu queries, taking orders, and more.
- ☕ AI‐powered café conversations
- menu browsing, order simulation
- dmin features & analytics
-
Clone the repo
git clone https://github.com/omrzgit/AI_Cafe_Bot.git cd AI_Cafe_Bot -
Create a virtual environment & activate
python -m venv venv source venv/bin/activate # or venv\Scripts\activate on Windows
-
Install dependencies
pip install -r requirements.txt
Create a .env file or set environment variables:
FLASK_ENV=development
FLASK_APP=app.py # replace if different
SECRET_KEY=your_secret
API_KEY=your_api_key
Run locally:
flask run
# or
python app.pyVisit http://localhost:5000/ in your browser to interact with the app.
To deploy continuously via GitHub:
-
Create
requirements.txt:pip freeze > requirements.txt -
Ensure
app.run(host="0.0.0.0", port=int(os.environ.get("PORT", 5000)))is in your entry file. -
On Render.com:
- New → Web Service → Connect your GitHub repo
- Set Build Command:
pip install -r requirements.txt - Set Start Command:
python app.py(ormain.py, whichever)
If tests exist:
pytestAI_Cafe_Bot/
├── app.py
├── requirements.txt
├── templates/
├── static/
└── README.md