Developed an intuitive user interface (UI) using the React framework.
Implemented a functionality to collect audio input from users within the UI.
Established seamless communication with the back-end through RESTful APIs to facilitate the translation process.
Utilized the React UI and REST API to translate collected audio content into various African local languages.
Integrated and deployed a fine-tuned speech-to-text model on Linode cloud computing infrastructure.
Employed Kubernetes cluster on Linode for efficient deployment of the developed application and its components.
Implemented a robust continuous integration pipeline using Jenkins to streamline development, testing, and deployment processes.
npm install
npm install --save-dev @babel/plugin-proposal-private-property-in-object
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
uvicorn main:app --reload
sudo apt-get install ffmpeg
because, the audio receive from the front end is not well formated in wav format.
docker build -t speechci-audio .
docker run -dp 8000:3000 speechci-audio
5049
docker build -t fast .
docker run -d --name fast6 -p 5049:5049 fast
-
on windows machine
docker tag speechci-api baurice/speechci-api:label
docker push baurice/speechci-api:label
-
on linux machine
- Get docker image id:
docker container ls
- commit the image :
docker container commit id baurice/speechci-api:label
- push container image:
docker image push baurice/speechci-api:label
localhost:5049/hello
- configure linode kube on linux
export KUBECONFIG=conf/speech-kubeconfig.yaml
- on windows
set KUBECONFIG=conf/speech-kubeconfig.yaml
- on windows
- Get the number of nodes running
kubctl get nodes
- Start a pod with yaml file:
kubectl apply -f file_name.yaml
- Creat a load balancer:
kubectl apply -f service_name.yaml
- Get all running deployments
kubectl get deployments
- Edit running deployement
kubectl edit deployment depoleyment_name
- delete a running pod:
kubectl delete pod pod_name
- Delete services:
kubectl delete services