Add Golang API for spoken language identification. (#709)

This commit is contained in:
Fangjun Kuang
2024-03-27 19:40:25 +08:00
committed by GitHub
parent 12efbf7397
commit a042f44076
10 changed files with 242 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ std::string SpokenLanguageIdentificationConfig::ToString() const {
std::ostringstream os;
os << "SpokenLanguageIdentificationConfig(";
os << "whisper=\"" << whisper.ToString() << "\", ";
os << "whisper=" << whisper.ToString() << ", ";
os << "num_threads=" << num_threads << ", ";
os << "debug=" << (debug ? "True" : "False") << ", ";
os << "provider=\"" << provider << "\")";