You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would be even better to automatically infer the content type header based on file extension. Only possible when input is passed as a filepath, not raw bytes.
Note: this is not specific to automatic_speech_recognition but to any "binary-only" task (AST, audio-to-audio, image classification, image-to-xxx, etc.). Only useful when binary is sent alone, not when sent as base64-encoded with other parameters.
The text was updated successfully, but these errors were encountered:
Follow-up issue after #2706. The initial intent of the issue is still left to be done. Sending a content-type as header can be done like this:
would be even better to automatically infer the content type header based on file extension. Only possible when input is passed as a filepath, not raw bytes.
Note: this is not specific to
automatic_speech_recognition
but to any "binary-only" task (AST, audio-to-audio, image classification, image-to-xxx, etc.). Only useful when binary is sent alone, not when sent as base64-encoded with other parameters.The text was updated successfully, but these errors were encountered: