from paddlex import create_model model = create_model(model_name="whisper_small") output = model.predict(input="./sample_data/zh.wav", batch_size=1) for res in output: res.print() res.save_all(save_path="./sample_data/output")