A small app to help add tags to your images using OpenAI GPT-4 with Vision
- Python 3.11 or later
- Node.js 20 or later
- An OpenAI key
- Clone the repository and get into its folder
- Create a new python virtual env for it:
python -m venv .venv - Activate the virtual env:
. .venv/bin/activate - Install the python packages:
pip install -r requirements.txt - Go to the frontend folder:
cd frontend - Install the frontend dependencies:
npm i - Build the frontend:
npm run build - Go back to the root folder:
cd .. - Set your OPEN_AI_API_KEY environment variable in the
.envfile - Run the application with
python app.py. It should be accessible athttp://localhost:5000.