Skip to content

ivanshin/ASR_TOOL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wav2Vec ASR tool [RUSSIAN]

V0.2 Every main and child process now logs to SQLite DB or a console!

This app was created in research goals. Transcribes audifiles in Russian language. How it's works:

  1. Check config.yaml set your working directory for app and ouput directory:
#YAML EXAMPLE
# [directories settings]
working_dir: /media/ivan/Диск/WAV2VEC_WD
output_dir: /media/ivan/Диск/WAV2VEC_OUTPUT

# [transcriber settings]
model: #large-v2 # 'tiny' by default if blank (Whisper model settings)

# [multiple GPU support]
devices:
  - cpu
  # set your cuda devices:  #- cuda:0
                            #- cuda:1 
  # OR
  #set blank if CPU (set same device multiple times to spawn more workers:   #- cpu
                                                                             #- cpu)

# [logging settings]
logs_to_db: True # False
logs_db_path: /media/ivan/Диск/WAV2VEC_DB # set path where to store SQLite DB if logs_to_db = True| else None
  1. Create venv and activate:
python -m venv .venv

and install dependecies:

pip install -r requirements.txt
  1. start main.py
python main.py

this will start necessary daemons. IMPORTANT -- closing main process kills daemons.

  1. Paste audiofile into working_dir you set.

  2. Wait for results in output_dir you set.

Additions:

Example of SQLite DB

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages