Skip to content

Commit

Permalink
removing from offline
Browse files Browse the repository at this point in the history
  • Loading branch information
manickavela29 committed Jun 26, 2024
1 parent 2ef7a7c commit fa001b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sherpa-onnx/jni/offline-recognizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static OfflineRecognizerConfig GetOfflineConfig(JNIEnv *env, jobject config) {
fid = env->GetFieldID(model_config_cls, "provider", "Ljava/lang/String;");
s = (jstring)env->GetObjectField(model_config, fid);
p = env->GetStringUTFChars(s, nullptr);
ans.model_config.provider_config.provider = p;
ans.model_config.provider = p;
env->ReleaseStringUTFChars(s, p);

fid = env->GetFieldID(model_config_cls, "modelType", "Ljava/lang/String;");
Expand Down

0 comments on commit fa001b7

Please sign in to comment.