use hydra instead of argparse

This commit is contained in:
pengzhendong
2026-01-07 17:02:10 +08:00
parent 82c1e6afc8
commit 4506e00e9c
2 changed files with 21 additions and 22 deletions

View File

@ -3,7 +3,7 @@ import os
import hydra
import torch
from funasr import AutoModel
from omegaconf import DictConfig, OmegaConf, ListConfig
from omegaconf import DictConfig, ListConfig, OmegaConf
@hydra.main(config_name=None, version_base=None)