Update README.md
Browse files
README.md
CHANGED
|
@@ -116,9 +116,13 @@ asr_model.transcribe_file(
|
|
| 116 |
<details>
|
| 117 |
<summary>Commandline tool to transcribe a file or a live stream</summary>
|
| 118 |
|
| 119 |
-
**Decoding from a live stream using ffmpeg (BBC Radio 4):**
|
| 120 |
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
|
| 123 |
```python
|
| 124 |
from argparse import ArgumentParser
|
|
|
|
| 116 |
<details>
|
| 117 |
<summary>Commandline tool to transcribe a file or a live stream</summary>
|
| 118 |
|
| 119 |
+
**Decoding from a live stream using ffmpeg (BBC Radio 4):**
|
| 120 |
|
| 121 |
+
`python3 asr.py http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_radio_fourfm/bbc_radio_fourfm.isml/bbc_radio_fourfm-audio%3d96000.norewind.m3u8 --model-source=sdelangen/speechbrain-asr-conformer-test --device=cpu -v`
|
| 122 |
+
|
| 123 |
+
**Decoding from a file:**
|
| 124 |
+
|
| 125 |
+
`python3 asr.py some-english-speech.wav --model-source=sdelangen/speechbrain-asr-conformer-test --device=cpu -v`
|
| 126 |
|
| 127 |
```python
|
| 128 |
from argparse import ArgumentParser
|