-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
(async () => {
try {
const response_0 = await fetch("https://huggingface.co/spaces/AP123/IllusionDiffusion/blob/main/funky.jpeg");
const exampleImage = await response_0.blob();
const app = await client("https://ap123-illusiondiffusion.hf.space/");
const response = await app.predict(1, ["beautiful nature", exampleImage]);
console.log(response);
} catch (error) {
console.error('Error while making the request:', error);
}
})();
OUTPUT:-
Error while making the request: {
type: 'status',
stage: 'error',
message: "Cannot read properties of undefined (reading 'map')",
endpoint: '/predict',
fn_index: 1,
queue: false,
time: 2023-11-05T18:54:00.032Z
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels