mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-13 20:12:24 +00:00
Fix CI
This commit is contained in:
parent
b297c10e5b
commit
9f5cf16e67
@ -154,7 +154,7 @@ def main():
|
||||
params = get_parser().parse_args()
|
||||
logging.info(vars(params))
|
||||
|
||||
model = OnnxModel(params.acoustic_model, tokens)
|
||||
model = OnnxModel(params.acoustic_model, params.tokens)
|
||||
vocoder = OnnxHifiGANModel(params.vocoder)
|
||||
text = params.input_text
|
||||
x = model.tokenizer.texts_to_token_ids([text], add_sos=True, add_eos=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user