Fix code style issues (#774)
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
|
||||
#include "sherpa-onnx/python/csrc/offline-transducer-model-config.h"
|
||||
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -16,7 +15,7 @@ void PybindOfflineTransducerModelConfig(py::module *m) {
|
||||
using PyClass = OfflineTransducerModelConfig;
|
||||
py::class_<PyClass>(*m, "OfflineTransducerModelConfig")
|
||||
.def(py::init<const std::string &, const std::string &,
|
||||
const std::string &>(),
|
||||
const std::string &>(),
|
||||
py::arg("encoder_filename"), py::arg("decoder_filename"),
|
||||
py::arg("joiner_filename"))
|
||||
.def_readwrite("encoder_filename", &PyClass::encoder_filename)
|
||||
|
||||
Reference in New Issue
Block a user