mirror of
https://github.com/LukeHagar/LocalAI.git
synced 2025-12-07 12:37:48 +00:00
tests: enable whisper
This commit is contained in:
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user