from local

This commit is contained in:
dohe0342 2023-04-11 17:01:19 +09:00
parent ce8c6d0f3b
commit 98395e6c6f
3 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ def decode_one_batch(
simulate_streaming=True,
)
else:
encoder_out, encoder_out_lens = model.encoder(x=feature, x_lens=feature_lens)
encoder_out, encoder_out_lens = model.encoder(x=feature, x_lens=feature_lens, prompt=model.prompt)
hyps = []