@@ -19,7 +19,7 @@ import (
19
19
const MODEL_TINY = "ggml-tiny.en-q5_1.bin"
20
20
const SAMPLE_EN = "../../samples/jfk.wav"
21
21
const SAMPLE_FR = "../../samples/OlivierL.wav"
22
- const SAMPLE_DE = "../../samples/ge -podcast.wav"
22
+ const SAMPLE_DE = "../../samples/de -podcast.wav"
23
23
24
24
func Test_whisper_001 (t * testing.T ) {
25
25
assert := assert .New (t )
@@ -225,7 +225,7 @@ func Test_whisper_005(t *testing.T) {
225
225
226
226
assert .NoError (service .WithModel (model , func (task * task.Context ) error {
227
227
t .Log ("Transcribing" , len (samples ), "samples" )
228
- return task .Transcribe (context .Background (), 0 , samples , false , nil )
228
+ return task .Transcribe (context .Background (), 0 , samples , nil )
229
229
}))
230
230
})
231
231
@@ -241,7 +241,7 @@ func Test_whisper_005(t *testing.T) {
241
241
242
242
assert .NoError (service .WithModel (model , func (task * task.Context ) error {
243
243
t .Log ("Transcribing" , len (samples ), "samples" )
244
- return task .Transcribe (context .Background (), 0 , samples , false , nil )
244
+ return task .Transcribe (context .Background (), 0 , samples , nil )
245
245
}))
246
246
})
247
247
@@ -257,7 +257,7 @@ func Test_whisper_005(t *testing.T) {
257
257
258
258
assert .NoError (service .WithModel (model , func (task * task.Context ) error {
259
259
t .Log ("Transcribing" , len (samples ), "samples" )
260
- return task .Transcribe (context .Background (), 0 , samples , false , nil )
260
+ return task .Transcribe (context .Background (), 0 , samples , nil )
261
261
}))
262
262
})
263
263
}
@@ -294,7 +294,7 @@ func Test_whisper_006(t *testing.T) {
294
294
295
295
assert .NoError (service .WithModel (model , func (task * task.Context ) error {
296
296
t .Log ("Transcribing" , len (samples ), "samples" )
297
- return task .Transcribe (context .Background (), 0 , samples , false , nil )
297
+ return task .Transcribe (context .Background (), 0 , samples , nil )
298
298
}))
299
299
})
300
300
@@ -312,7 +312,7 @@ func Test_whisper_006(t *testing.T) {
312
312
313
313
assert .NoError (service .WithModel (model , func (task * task.Context ) error {
314
314
t .Log ("Transcribing" , len (samples ), "samples" )
315
- return task .Transcribe (context .Background (), 0 , samples , false , nil )
315
+ return task .Transcribe (context .Background (), 0 , samples , nil )
316
316
}))
317
317
})
318
318
@@ -330,7 +330,7 @@ func Test_whisper_006(t *testing.T) {
330
330
331
331
assert .NoError (service .WithModel (model , func (task * task.Context ) error {
332
332
t .Log ("Transcribing" , len (samples ), "samples" )
333
- return task .Transcribe (context .Background (), 0 , samples , false , nil )
333
+ return task .Transcribe (context .Background (), 0 , samples , nil )
334
334
}))
335
335
})
336
336
})
0 commit comments