This is a simple project to predict the color of text in case of a given background color. The project is divided into two parts: the frontend and the backend. The frontend is a simple React app that allows the user to select a color and the backend is a simple FastAPI app that uses a pre-trained (Home-made) model to predict the color of the text.
- Python 3.8.5
- Node 14.17.0
- Clone the repo
git clone
- It is recommended to use a virtual environment
python -m venv venv
- Install Python packages
pip install -r requirements.txt
- Install Node packages
pnpm install or npm install
To run the frontend, run the following command in the frontend directory:
pnpm start or npm startTo run the backend, run the following command in the backend directory:
uvicorn main:app --reloadrun the following command in the root directory:
docker-compose upContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Feel free to open a pull request or an issue.
Distributed under the MIT License. See LICENSE for more information.
For any questions or suggestions, feel free to contact us:
- Hamza Mesrar - @ez7mz
- Yasser Nabouzi - @NBGamer99
- Omar Elhariri - @Ramo

