This is the web application for EmoVision, a project that uses machine learning to detect emotions in images.
- Set up virtual environment
cd fastapi-server
python3 -m venv .venv # python3 or python depending on your system config
source .venv/bin/activate # for linux and macOS
- Install dependencies
pip3 install -r requirements.txt # pip3 or pip depending on your system config
- Run the server
uvicorn app.main:app --reload
Backend server will be running at http://localhost:8000
cd next-client
npm install
npm run dev
- Build the image
cd fastapi-server
docker build -t emovision-server .
- Run the container
docker run -d --name emovision-server-container --env-file .env -p 8000:8000 emovision-server
Detached mode
docker run --name emovision-server-container --env-file .env -p 8000:8000 emovision-server
Interactive mode
This project is licensed under the MIT License - see the LICENSE file for details.