mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
add extract_token binary
This commit is contained in:
parent
342d781f0a
commit
2892a70cd8
@ -42,7 +42,7 @@ def main_hydra(cfg: DictConfig):
|
||||
torch.cuda.set_device(int(os.environ["LOCAL_RANK"]))
|
||||
model = AutoModel(**kwargs)
|
||||
res = model.generate(input=kwargs["input"])
|
||||
print(res)
|
||||
logging.info(f"{res}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Loading…
Reference in New Issue
Block a user