Update README.md
Browse files
README.md
CHANGED
@@ -66,12 +66,12 @@ model = nemo_asr.models.EncDecCTCModel.restore_from(NEMO_PATH)
|
|
66 |
# Create a list pointing to the audio files
|
67 |
paths2audio_files = ["audio_1.wav", ..., "audio_n.wav"]
|
68 |
|
69 |
-
|
70 |
# Fix the batch size to whatever number suits your purpose
|
71 |
batch_size = 8
|
72 |
|
|
|
73 |
transcriptions = model.transcribe(paths2audio_files=paths2audio_files,
|
74 |
-
batch_size=
|
75 |
# Visualize the transcriptions
|
76 |
print(transcriptions)
|
77 |
|
|
|
66 |
# Create a list pointing to the audio files
|
67 |
paths2audio_files = ["audio_1.wav", ..., "audio_n.wav"]
|
68 |
|
|
|
69 |
# Fix the batch size to whatever number suits your purpose
|
70 |
batch_size = 8
|
71 |
|
72 |
+
# Transcribe the audio files
|
73 |
transcriptions = model.transcribe(paths2audio_files=paths2audio_files,
|
74 |
+
batch_size=batch_size)
|
75 |
# Visualize the transcriptions
|
76 |
print(transcriptions)
|
77 |
|