ahmetoner/whisper-asr-webservice

Unable to resolve error `Invalid data found when processing input` when trying to transcribe MP3/M4A/etc.

stefansmr opened this issue · 2 comments

Hi! I am trying to use this program through an Obsidian community plugin, Obsidian Transcription, and am unable to. I have been troubleshooting for far too long and am stuck on the following errors:

  1. When I hit transcribe from the Obsidian plugin, I receive a Error Transcribing File: Error Request Failed, Status 500 error. The plugin is supposed to point to http://localhost:9000, which is correctly given. After some investigation, status 500 implies an error with how I am specifying the request, but I am otherwise unsure.
  2. When I look at my locally-hosted whisper, I see an error on Docker that says pipe:: Invalid data found when processing input, which sounds like some of the ffmpeg errors documented in other issues here. However, I have no idea to correct it, and even cache-ing a local version only highlights a PyTorch file that I also don't know how to open and edit.

I am open to providing additional information but am unsure of what else could be useful. Any and all help would be appreciated! I also appreciate the time it has taken to put all this together.

My error is like this,but error is
TypeError: a bytes-like object is required, not 'tuple'

Any fixes?