소스 검색

fix(tools/whisper_asr): use example (#258)

WWWw 2 년 전
부모
커밋
f6622bfcb4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tools/whisper_asr.py

+ 2 - 2
tools/whisper_asr.py

@@ -12,11 +12,11 @@ Directory structure:
 ------02.wav
 ------02.wav
 ------......
 ------......
 Use 
 Use 
-python tools/whisper_asr.py --audio_dir pre_data_root/SP_1 --save_dir data/SP_1 
+python tools/whisper_asr.py --audio-dir pre_data_root/SP_1 --save-dir data/SP_1 
 to transcribe the first speaker.
 to transcribe the first speaker.
 
 
 Use 
 Use 
-python tools/whisper_asr.py --audio_dir pre_data_root/SP_2 --save_dir data/SP_2 
+python tools/whisper_asr.py --audio-dir pre_data_root/SP_2 --save-dir data/SP_2 
 to transcribe the second speaker.
 to transcribe the second speaker.
 
 
 Note: Be aware of your audio sample rate, which defaults to 44.1kHz.
 Note: Be aware of your audio sample rate, which defaults to 44.1kHz.