This project is based on applying AI in image search functionality. For AI model we are using Hugging face and Langchain.They provide easy way to integrate promising deep learning model in the application.
- Python >= 3.6
- Dependencies:
pip install -r requirements.txt
- Nodejs
- Reactjs
- Backend: Contains the backend RestApi code and some R&D scripts for deep learning task.
- Frontend: Contains the frontend code in Reactjs for integrating the backend api.
For backend
uvicorn api.main:app --reload
For Frontend
npm start
uvicorn api.main:app --reload set NODE_OPTIONS=--openssl-legacy-provider
- change alembic init file for database path
- add backend model in alembic .env file
alembic init alembic alembic revision --autogenerate -m "changes occured" alembic upgrade head