Skip to content

Web application for EmoVision Project. Extension of github.com/adistrim/EmoVision

License

Notifications You must be signed in to change notification settings

adistrim/EmoVision-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmoVision-Web

This is the web application for EmoVision, a project that uses machine learning to detect emotions in images.

Installation

fastapi-server

  1. 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
  1. Install dependencies
pip3 install -r requirements.txt    # pip3 or pip depending on your system config
  1. Run the server
uvicorn app.main:app --reload

Backend server will be running at http://localhost:8000

next-client (frontend)

cd next-client
npm install
npm run dev

Docker

  1. Build the image
cd fastapi-server
docker build -t emovision-server .  
  1. 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

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Web application for EmoVision Project. Extension of github.com/adistrim/EmoVision

Topics

Resources

License

Stars

Watchers

Forks