| 75 | } |
| 76 | |
| 77 | func (m *transcriptOnlyModel) VAD(ctx context.Context, request *schema.VADRequest) (*schema.VADResponse, error) { |
| 78 | return backend.VAD(request, ctx, m.modelLoader, m.appConfig, *m.VADConfig) |
| 79 | } |
| 80 | |
| 81 | func (m *transcriptOnlyModel) Transcribe(ctx context.Context, audio, language string, translate bool, diarize bool, prompt string) (*schema.TranscriptionResult, error) { |
| 82 | return backend.ModelTranscription(ctx, audio, language, translate, diarize, prompt, m.modelLoader, *m.TranscriptionConfig, m.appConfig) |