Spaces:
Sleeping
Sleeping
Download workflow.json from hmb/a11y-workflow: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/spaces/hmb/a11y-workflow/resolve/main/workflow.json
- Command line
-
hf download hf://spaces/hmb/a11y-workflow/workflow.json
-
curl -L -o workflow.json https://huggingface.co/spaces/hmb/a11y-workflow/resolve/main/workflow.json
2.58 kB
| { | |
| "schema_version": "2", | |
| "name": "Accessibility Audit", | |
| "runtime": { "default": "client" }, | |
| "references": [ | |
| { | |
| "id": "ref_screenshot", | |
| "role": "reference", | |
| "label": "Screenshot", | |
| "asset_type": "image", | |
| "inputs": [{ "id": "in", "label": "Image", "type": "image" }], | |
| "outputs": [{ "id": "out", "label": "Image", "type": "image" }], | |
| "x": 80, "y": 200, "width": 220, "height": 122, | |
| "data": {} | |
| } | |
| ], | |
| "operators": [ | |
| { | |
| "id": "fn_audit", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "audit_screenshot", | |
| "label": "audit_screenshot", | |
| "inputs": [{ "id": "in_image", "label": "image", "type": "image" }], | |
| "outputs": [{ "id": "out_0", "label": "output", "type": "text" }], | |
| "x": 380, "y": 200, "width": 220, "height": 100, | |
| "data": {} | |
| }, | |
| { | |
| "id": "fn_prioritise", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "prioritise_issues", | |
| "label": "prioritise_issues", | |
| "inputs": [{ "id": "in_audit", "label": "audit", "type": "text" }], | |
| "outputs": [{ "id": "out_0", "label": "output", "type": "text" }], | |
| "x": 680, "y": 200, "width": 220, "height": 100, | |
| "data": {} | |
| }, | |
| { | |
| "id": "fn_fixes", | |
| "role": "operator", | |
| "kind": "fn", | |
| "fn": "generate_fixes", | |
| "label": "generate_fixes", | |
| "inputs": [{ "id": "in_prioritised", "label": "prioritised", "type": "text" }], | |
| "outputs": [{ "id": "out_0", "label": "output", "type": "text" }], | |
| "x": 980, "y": 200, "width": 220, "height": 100, | |
| "data": {} | |
| } | |
| ], | |
| "subjects": [ | |
| { | |
| "id": "subj_fixes", | |
| "role": "subject", | |
| "label": "Fixes", | |
| "asset_type": "text", | |
| "inputs": [{ "id": "in", "label": "Text", "type": "text" }], | |
| "outputs": [{ "id": "out", "label": "Text", "type": "text" }], | |
| "x": 1280, "y": 200, "width": 220, "height": 105, | |
| "data": {} | |
| } | |
| ], | |
| "edges": [ | |
| { "id": "e1", "from_node_id": "ref_screenshot", "from_port_id": "out", "to_node_id": "fn_audit", "to_port_id": "in_image", "type": "image" }, | |
| { "id": "e2", "from_node_id": "fn_audit", "from_port_id": "out_0", "to_node_id": "fn_prioritise", "to_port_id": "in_audit", "type": "text" }, | |
| { "id": "e3", "from_node_id": "fn_prioritise", "from_port_id": "out_0", "to_node_id": "fn_fixes", "to_port_id": "in_prioritised", "type": "text" }, | |
| { "id": "e4", "from_node_id": "fn_fixes", "from_port_id": "out_0", "to_node_id": "subj_fixes", "to_port_id": "in", "type": "text" } | |
| ], | |
| "view": { "default": "canvas" } | |
| } | |