Convert voice to text and detect gender model
Hosted instance - yap.dumbapps.org
-
Python based backend
- Django as the web framework
-
Flutter based frontend
client- contains the flutter frontendlib- contains the main application code
ml- contains the notebooks used in training the modelsbackend- contains the backend code as well as the trained modelsmodel- contains the ASR modelvoice_model- contains the gender detection model
I recommend using docker for building as avoids setting up flutter and python venv shenanigans and avoids installing packages into your system python.
Optionally you can setup Nvidia container toolkit to use your nvidia GPU, but it is not required to build the application.
docker build . -t "yapster"docker run -p 8000:8000 yapster This will make the website accessible on localhost:8000
-
You will need flutter installed and accessible, you can check your installation by running
flutter doctor -
Python 3.12 installed
This will build frontend files in client/build/web/
cd client
flutter build web --base-href=/static/ pip install -r backend/requirements.txt By default, it will automatically serve the generated frontend files client/build/web/
py main.py
This will make the website accessible on localhost:8000