sudoping01 commited on
Commit
866a7ba
·
verified ·
1 Parent(s): 6aea637

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -1
README.md CHANGED
@@ -113,8 +113,21 @@ Songhoy-ASR-v1 enables numerous applications previously unavailable to Songhoy s
113
 
114
  ## Usage Examples
115
 
 
 
 
 
 
116
  ```
117
- Coming soon
 
 
 
 
 
 
 
 
118
  ```
119
 
120
  ## Limitations
 
113
 
114
  ## Usage Examples
115
 
116
+ ```bash
117
+ pip install git+https://github.com/sudoping01/whosper.git
118
+
119
+ ```
120
+
121
  ```
122
+ from whosper import WhosperTranscriber
123
+
124
+ # Initialize the transcriber
125
+ transcriber = WhosperTranscriber(model_id = "MALIBA-AI/songhoy-asr")
126
+
127
+ # Transcribe an audio file
128
+ result = transcriber.transcribe_audio("path/to/your/audio.wav") # you can all pass the audio array too
129
+ print(result)
130
+
131
  ```
132
 
133
  ## Limitations