Commit 06cce89 1 parent 4804bb1 commit 06cce89 Copy full SHA for 06cce89
File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,13 @@ function testTts() {
106
106
fi
107
107
108
108
if [ ! -f ./matcha-icefall-zh-baker/model-steps-3.onnx ]; then
109
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/matcha-icefall-zh-baker.tar.bz2
109
+ curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/matcha-icefall-zh-baker.tar.bz2
110
110
tar xvf matcha-icefall-zh-baker.tar.bz2
111
111
rm matcha-icefall-zh-baker.tar.bz2
112
112
fi
113
113
114
114
if [ ! -f ./hifigan_v2.onnx ]; then
115
- wget https://github.com/k2-fsa/sherpa-onnx/releases/download/vocoder-models/hifigan_v2.onnx
115
+ curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/vocoder-models/hifigan_v2.onnx
116
116
fi
117
117
118
118
out_filename=test_tts.jar
Original file line number Diff line number Diff line change @@ -1381,12 +1381,14 @@ SHERPA_ONNX_API typedef struct SherpaOnnxOnlinePunctuationConfig {
1381
1381
SherpaOnnxOnlinePunctuationModelConfig model ;
1382
1382
} SherpaOnnxOnlinePunctuationConfig ;
1383
1383
1384
- SHERPA_ONNX_API typedef struct SherpaOnnxOnlinePunctuation SherpaOnnxOnlinePunctuation ;
1384
+ SHERPA_ONNX_API typedef struct SherpaOnnxOnlinePunctuation
1385
+ SherpaOnnxOnlinePunctuation ;
1385
1386
1386
1387
// Create an online punctuation processor. The user has to invoke
1387
1388
// SherpaOnnxDestroyOnlinePunctuation() to free the returned pointer
1388
1389
// to avoid memory leak
1389
- SHERPA_ONNX_API const SherpaOnnxOnlinePunctuation * SherpaOnnxCreateOnlinePunctuation (
1390
+ SHERPA_ONNX_API const SherpaOnnxOnlinePunctuation *
1391
+ SherpaOnnxCreateOnlinePunctuation (
1390
1392
const SherpaOnnxOnlinePunctuationConfig * config );
1391
1393
1392
1394
// Free a pointer returned by SherpaOnnxCreateOnlinePunctuation()
You can’t perform that action at this time.
0 commit comments