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?
The
openai/whispermodel requires aaudio(a file, usually an .mp3 file) argument. The documentation onreplicate.comforpythonshows:How can I provide this argument while using
replicate-js? Can this be anhttpURL to anmp3file?