zhifu gao
2024-03-30 702b9b540c3c1524748cd975a10ce33f0fa53912
examples/industrial_data_pretraining/whisper/demo_from_openai.py
@@ -12,7 +12,7 @@
# model = AutoModel(model="Whisper-large-v2", hub="openai")
model = AutoModel(model="Whisper-large-v3",
                  vad_model="iic/speech_fsmn_vad_zh-cn-16k-common-pytorch",
                  vad_kwargs={"max_single_segment_time": 30},
                  vad_kwargs={"max_single_segment_time": 30000},
              hub="openai",
                  )