Merge pull request #81 from k0hacuu/main

README Spelling correction
This commit is contained in:
makaveli
2024-01-01 13:53:38 +05:30
committed by GitHub
+2 -2
View File
@@ -54,9 +54,9 @@ Unlike traditional speech recognition systems that rely on continuous audio stre
) )
client() client()
``` ```
This command captures audio from the microphone and sends it to the server for transcription. It uses the multilingual option with `hi` as the selectelanguage, enabling the multilingual feature and specifying the target language and task. We use whisper `small` by default but can be changed to any other option based on the requirements and the hardware running the server. This command captures audio from the microphone and sends it to the server for transcription. It uses the multilingual option with `hi` as the selected language, enabling the multilingual feature and specifying the target language and task. We use whisper `small` by default but can be changed to any other option based on the requirements and the hardware running the server.
- To trasncribe from a HLS stream: - To transcribe from a HLS stream:
```python ```python
client = TranscriptionClient(host, port, is_multilingual=True, lang="en", translate=False) client = TranscriptionClient(host, port, is_multilingual=True, lang="en", translate=False)
client(hls_url="http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8") client(hls_url="http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8")