-
Notifications
You must be signed in to change notification settings - Fork 241
Closed
Description
Hi,
I couldn't find any docs anywhere telling what kind of file format cog (and Replicate API) expects to receive in the input of the prompt. The NodeJS example only includes ... and I don't if python adds any extra headers with open function.
const output = await replicate.run(
"meronym/speaker-transcription:12483517b558629508e03bed77e9c46c6f6e5756715af2b3a4f741f70be45575",
{
input: {
audio: "..."
}
}
);output = replicate.run(
"meronym/speaker-transcription:12483517b558629508e03bed77e9c46c6f6e5756715af2b3a4f741f70be45575",
input={"audio": open("path/to/file", "rb")}
)Could you help me figure out what's the expected way to upload files using this library?
nelsonjchencodergautam
Metadata
Metadata
Assignees
Labels
No labels