Refactor Java API (#806)
This commit is contained in:
@@ -96,7 +96,7 @@ static std::vector<std::vector<float>> ComputeEmbeddings(
|
||||
sherpa_onnx::ReadWave(f, &sampling_rate, &is_ok);
|
||||
|
||||
if (!is_ok) {
|
||||
fprintf(stderr, "Failed to read %s\n", f.c_str());
|
||||
fprintf(stderr, "Failed to read '%s'\n", f.c_str());
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user