Browse Source

minor changes to readme

Kolja Beigel 1 year ago
parent
commit
257be86bf6
2 changed files with 5 additions and 1 deletions
  1. 4 0
      README.md
  2. 1 1
      requirements.txt

+ 4 - 0
README.md

@@ -128,6 +128,10 @@ The test subdirectory contains a set of scripts to help you evaluate and underst
 
 ## Configuration
 
+### Initialization Parameters for `AudioToTextRecorder`
+
+When you initialize the `AudioToTextRecorder` class, you have various options to customize its behavior. Here are the available parameters:
+
 - **model** (str, default="tiny"): Model size or path for transcription.
     - Options: 'tiny', 'tiny.en', 'base', 'base.en', 'small', 'small.en', 'medium', 'medium.en', 'large-v1', 'large-v2'.
     - Note: If a size is provided, the model will be downloaded from the Hugging Face Hub.

+ 1 - 1
requirements.txt

@@ -3,4 +3,4 @@ faster-whisper>=0.7.1
 pvporcupine==1.9.5
 webrtcvad>=2.0.10
 halo>=0.0.31
-torch=>2.0.1
+torch>=2.0.1