Skip to content

Commit 06cce89

Browse files
committed
fix style issues
1 parent 4804bb1 commit 06cce89

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

kotlin-api-examples/run.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ function testTts() {
106106
fi
107107

108108
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
110110
tar xvf matcha-icefall-zh-baker.tar.bz2
111111
rm matcha-icefall-zh-baker.tar.bz2
112112
fi
113113

114114
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
116116
fi
117117

118118
out_filename=test_tts.jar

sherpa-onnx/c-api/c-api.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -1381,12 +1381,14 @@ SHERPA_ONNX_API typedef struct SherpaOnnxOnlinePunctuationConfig {
13811381
SherpaOnnxOnlinePunctuationModelConfig model;
13821382
} SherpaOnnxOnlinePunctuationConfig;
13831383

1384-
SHERPA_ONNX_API typedef struct SherpaOnnxOnlinePunctuation SherpaOnnxOnlinePunctuation;
1384+
SHERPA_ONNX_API typedef struct SherpaOnnxOnlinePunctuation
1385+
SherpaOnnxOnlinePunctuation;
13851386

13861387
// Create an online punctuation processor. The user has to invoke
13871388
// SherpaOnnxDestroyOnlinePunctuation() to free the returned pointer
13881389
// to avoid memory leak
1389-
SHERPA_ONNX_API const SherpaOnnxOnlinePunctuation *SherpaOnnxCreateOnlinePunctuation(
1390+
SHERPA_ONNX_API const SherpaOnnxOnlinePunctuation *
1391+
SherpaOnnxCreateOnlinePunctuation(
13901392
const SherpaOnnxOnlinePunctuationConfig *config);
13911393

13921394
// Free a pointer returned by SherpaOnnxCreateOnlinePunctuation()

0 commit comments

Comments
 (0)