Skip to content

Commit 7478e87

Browse files
committed
Update README.md
1 parent 6b79055 commit 7478e87

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,9 @@ source = MicrophoneAudioSource()
294294
# To take input from file:
295295
# source = FileAudioSource("<filename>", sample_rate=16000)
296296

297+
# Make sure the model has been trained with the same sample rate
298+
print(source.sample_rate)
299+
297300
stream = mic.stream.pipe(
298301
# Reformat stream to 5s duration and 500ms shift
299302
dops.rearrange_audio_stream(sample_rate=source.sample_rate),

0 commit comments

Comments
 (0)