Skip to content

GuySandler/WISE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asl-caption

Generate captions for videos containing ASL

Project Structure

  • backend: Flask server that contains the AI model
  • frontend: User-facing SvelteKit frontend

Running the Project

Backend

  1. cd backend
  2. (use any virtual environment of your choice and install the dependencies with pip install -e .) 2.5 export FLASK_APP=init.py
  3. flask run

Frontend

Vite an environment variable to locate the server, which is served by default at http://localhost:5000. An example file is provided at .env.example.

To develop the frontend, make a copy of this file in the same directory and name it .env.development.

Note: When it's time to compile the frontend, the deployment URL of the backend should be placed in .env.production.

  1. Install pnpm: sudo npm install -g pnpm
  2. cd frontend
  3. pnpm install
  4. pnpm dev