Skip to content

Commit

Permalink
Merge pull request #16 from Navodplayer1/dev
Browse files Browse the repository at this point in the history
changed readme
  • Loading branch information
NavodPeiris authored Jan 27, 2024
2 parents 586ca55 + 3d9e382 commit f915f2e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@

</p>

### Run your IDE as administrator

you will get following error if administrator permission is not there:

**OSError: [WinError 1314] A required privilege is not held by the client**

### Requirements

Expand Down
10 changes: 5 additions & 5 deletions examples/transcribe.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from speechlib import Transcriptor

file = "obama_zach.wav"
voices_folder = "voices"
language = "en"
log_folder = "logs"
modelSize = "medium"
file = "obama_zach.wav" # your audio file
voices_folder = "voices" # voices folder containing voice samples for recognition
language = "en" # language code
log_folder = "logs" # log folder for storing transcripts
modelSize = "medium" # size of model to be used [tiny, small, medium, large-v1, large-v2, large-v3]
quantization = False # setting this 'True' may speed up the process but lower the accuracy

transcriptor = Transcriptor(file, log_folder, language, modelSize, voices_folder, quantization)
Expand Down

0 comments on commit f915f2e

Please sign in to comment.