mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
fix log
This commit is contained in:
parent
f803707b47
commit
e5fb0fb7e5
@ -51,7 +51,7 @@ void ParaformerTorch::InitAsr(const std::string &am_model, const std::string &am
|
||||
model_ = std::make_shared<TorchModule>(std::move(model));
|
||||
LOG(INFO) << "Successfully load model from " << am_model;
|
||||
} catch (std::exception const &e) {
|
||||
LOG(ERROR) << "Error when load am model: " << e.what();
|
||||
LOG(ERROR) << "Error when load am model: " << am_model << ", " << e.what();
|
||||
exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user