Skip to content

SpeakWrite-CSC301/speakwrite-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setting up FastAPI

  1. Create a Python virtual environment
python3 -m venv sw-env # do not do this within the repo
source sw-env/bin/activate # activate when on same directory as sw-env
  1. Install dependencies listed in requirements.txt
pip install -r requirements.txt
  1. Run the main API gateway service
python3 app/main.py
  1. Run the speech transcription WebSocket service
python3 app/services/websocket.py

Open http://127.0.0.1:8001 with your browser to see the result. Open http://127.0.0.1:8001/docs or http://127.0.0.1:8001/redoc to see the API docs, as a Swagger doc or a ReDoc, respectively.

Reference: FastAPI Setup

Releases

No releases published

Packages

No packages published

Languages