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