Spaces:
Running
Running
File size: 2,094 Bytes
790587c 3579f0b 790587c 3579f0b 790587c 3579f0b 790587c 3579f0b 790587c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | {
"schema_version": "2",
"name": "Error Banner Demo",
"runtime": { "default": "client" },
"references": [
{
"id": "ref_prompt",
"label": "Prompt",
"role": "reference",
"asset_type": "text",
"inputs": [{ "id": "in", "label": "Text", "type": "text" }],
"outputs": [{ "id": "out", "label": "Text", "type": "text" }],
"x": 80, "y": 140, "width": 220, "height": 163,
"data": {
"in": "A lone lighthouse on a rocky cliff at sunset, dramatic storm clouds rolling in, golden hour light breaking through, oil painting style, highly detailed"
}
}
],
"operators": [
{
"id": "op_flux",
"label": "Generate Image",
"role": "operator",
"kind": "space",
"source": "hf://spaces/multimodalart/FLUX.1-merged",
"space_id": "multimodalart/FLUX.1-merged",
"runtime": "client",
"x": 380, "y": 140, "width": 220, "height": 124,
"inputs": [{ "id": "in_0", "label": "Prompt", "type": "text", "required": true }],
"outputs": [{ "id": "out_0", "label": "Image", "type": "image", "output_index": 0 }],
"endpoints": [
{
"name": "/generate",
"inputs": [{ "id": "in_0", "label": "Prompt", "type": "text", "required": true }],
"outputs": [{ "id": "out_0", "label": "Image", "type": "image", "output_index": 0 }]
}
],
"data": {}
}
],
"subjects": [
{
"id": "sub_out",
"label": "Generated Image",
"role": "subject",
"asset_type": "image",
"inputs": [{ "id": "in", "label": "Image", "type": "image" }],
"outputs": [{ "id": "out", "label": "Image", "type": "image" }],
"x": 680, "y": 140, "width": 220, "height": 107,
"data": {}
}
],
"edges": [
{ "id": "e1", "from_node_id": "ref_prompt", "from_port_id": "out", "to_node_id": "op_flux", "to_port_id": "in_0", "type": "text" },
{ "id": "e2", "from_node_id": "op_flux", "from_port_id": "out_0", "to_node_id": "sub_out", "to_port_id": "in", "type": "image" }
],
"view": { "default": "canvas" }
}
|