For java ci actions (#231)

This commit is contained in:
zhaomingwork
2023-08-05 10:32:48 +08:00
committed by GitHub
parent 92976b04a0
commit 5c9aebd583
5 changed files with 130 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ public class DecodeFile {
String appDir = System.getProperty("user.dir");
System.out.println("appdir=" + appDir);
String fileName = appDir + "/test.wav";
String cfgPath = appDir + "/modelconfig.cfg";
String cfgPath = appDir + "/modeltest.cfg";
String soPath = appDir + "/../build/lib/libsherpa-onnx-jni.so";
OnlineRecognizer.setSoPath(soPath);
DecodeFile rcgDemo = new DecodeFile(fileName);