An Complete Implementation over speech recognition and whisper to know their effiecncy in Speech to Text modules as with Runtime Audio Recording
SpeechRecognition.py is with SpeechRecognition module Code
w.py is with Whisper module Code
pip install requirements.txt
streamlit run SpeechRecognition.py
streamlit run w.py
(you can run the recording.ipynb file for recording audio)
If needed Install chocolately in your system @ Powershell to run Whisper in Local System
#Grammer Checking of the transcripted text with Whisper,Llama
voice.py gives the entire code to make whisper transcript as input to llama local models input and check the grammer
- https://visualstudio.microsoft.com/visual-cpp-build-tools/
- https://huggingface.co/TheBloke/Llama-2-13B-GGML/blob/main/llama-2-13b.ggmlv3.q4_0.bin
pip install llama-cpp-python
pip install llama_index
streamlit run voice.py