Skip to content

How to provide audio (mp3) input for the Whisper model? #33

@arnab

Description

@arnab

The openai/whisper model requires a audio (a file, usually an .mp3 file) argument. The documentation on replicate.com for python shows:

'audio': open("path/to/file", "rb")

How can I provide this argument while using replicate-js? Can this be an http URL to an mp3 file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions