mirror of
https://github.com/malarinv/jasper-asr.git
synced 2026-06-13 12:32:08 +00:00
f5fd5d2cfc6be02db3f73bc0ded4899b1f037bad
Bumps [streamlit](https://github.com/streamlit/streamlit) from 0.58.0 to 1.54.0. - [Release notes](https://github.com/streamlit/streamlit/releases) - [Commits](https://github.com/streamlit/streamlit/compare/0.58.0...1.54.0) --- updated-dependencies: - dependency-name: streamlit dependency-version: 1.54.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Jasper ASR
Generates text from speech audio
Table of Contents
Prerequisites
# apt install libsndfile-dev ffmpeg
Features
- ASR using Jasper (from NemoToolkit )
Installation
To install the packages and its dependencies run.
python setup.py install
or with pip
pip install .[server]
The installation should work on Python 3.6 or newer. Untested on Python 2.7
Usage
from jasper.asr import JasperASR
asr_model = JasperASR("/path/to/model_config_yaml","/path/to/encoder_checkpoint","/path/to/decoder_checkpoint") # Loads the models
TEXT = asr_model.transcribe(wav_data) # Returns the text spoken in the wav
Languages
Python
100%