Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update func GetValue
雾聪86616b3223e5
diff --git a/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp b/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cppindex 83d7e79d8..0f550fc86 100644--- a/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp+++ b/runtime/onnxruntime/bin/funasr-onnx-offline-rtf.cpp@@ -115,10 +115,8 @@ bool is_target_file(const std::string& filename, const std::string target) {void GetValue(TCLAP::ValueArg<std::string>& value_arg, string key, std::map<std::string, std::string>& model_path){- if (value_arg.isSet()){- model_path.insert({key, value_arg.getValue()});- LOG(INFO)<< key << " : " << value_arg.getValue();- }+ model_path.insert({key, value_arg.getValue()});+ LOG(INFO)<< key << " : " << value_arg.getValue();}int main(int argc, char *argv[])diff --git a/runtime/onnxruntime/bin/funasr-onnx-offline.cpp b/runtime/onnxruntime/bin/funasr-onnx-offline.cppindex 4aaa0023e..51a47299e 100644--- a/runtime/onnxruntime/bin/funasr-onnx-offline.cpp+++ b/runtime/onnxruntime/bin/funasr-onnx-offline.cpp@@ -32,10 +32,8 @@ bool is_target_file(const std::string& filename, const std::string target) {void GetValue(TCLAP::ValueArg<std::string>& value_arg, string key, std::map<std::string, std::string>& model_path){- if (value_arg.isSet()){- model_path.insert({key, value_arg.getValue()});- LOG(INFO)<< key << " : " << value_arg.getValue();- }+ model_path.insert({key, value_arg.getValue()});+ LOG(INFO)<< key << " : " << value_arg.getValue();}int main(int argc, char** argv)