- Use a venv (optional)
venv python -m venv venv
source venv/bin/activate
-
Install the required packages
- Run the following command to install dependencies from
requirements.txt
:
pip install -r requirements.txt
- Run the following command to install dependencies from
-
Add Images
- Place the images you want to vectorize in the
data/images
folder. These images will be processed and saved to the database.
- Place the images you want to vectorize in the
-
Create Embeddings
- Run the script to convert images into searchable vectors:
python create_embeddings.py
-
Start the API
- Launch the API by running:
python api.py
The API will be available at http://0.0.0.0:8000.
- View the Application
- Open the index.html file in your browser to access the interface.