Skip to content

Conversation

@mudler
Copy link
Owner

@mudler mudler commented May 9, 2023

Part of: #138

This is a quick wire to whisper.cpp following loosely the work already in https://github.com/go-skynet/whisper, wires https://github.com/ggerganov/whisper.cpp with go and uses ffmpeg for converting input audios to wav.

It adds transcription endpoint to LocalAI - however:

  • It does not output the format indicated by the user (this is a first implementation round, lots to refine), always defaults to { "text" : " ... " }
  • It shells out to ffmpeg to convert the audio input (it is not added to the image, separate images must be arranged for this)
  • lots to improve

@mudler mudler changed the title feat: add transcribe endpoint feat: add transcript endpoint May 9, 2023
@mudler mudler mentioned this pull request May 9, 2023
5 tasks
@mudler mudler merged commit 9f42657 into master May 9, 2023
@mudler mudler deleted the whisper branch May 9, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant