tests: enable whisper

token_berts
mudler 1 year ago
parent 8250391e49
commit 660a67cb25
  1. 2
      api/api_test.go

@ -82,7 +82,7 @@ var _ = Describe("API test", func() {
Expect(err).To(HaveOccurred()) Expect(err).To(HaveOccurred())
Expect(err.Error()).To(ContainSubstring("error, status code: 500, message: could not load model - all backends returned error: 12 errors occurred:")) Expect(err.Error()).To(ContainSubstring("error, status code: 500, message: could not load model - all backends returned error: 12 errors occurred:"))
}) })
PIt("transcribes audio", func() { It("transcribes audio", func() {
resp, err := client.CreateTranscription( resp, err := client.CreateTranscription(
context.Background(), context.Background(),
openai.AudioRequest{ openai.AudioRequest{

Loading…
Cancel
Save