2022-03-23 23:19:12 +08:00
|
|
|
{
|
|
|
|
"mode": "blocks",
|
|
|
|
"components": [
|
|
|
|
{
|
|
|
|
"id": 1,
|
|
|
|
"type": "markdown",
|
|
|
|
"props": {
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": "<h1>Detect Disease From Scan</h1>\n<p>With this model you can lorem ipsum</p>\n<ul>\n<li>ipsum 1</li>\n<li>ipsum 2</li>\n</ul>\n",
|
2022-03-23 23:19:12 +08:00
|
|
|
"name": "markdown",
|
|
|
|
"label": null,
|
2022-04-14 22:12:30 +08:00
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
2022-03-23 23:19:12 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2,
|
|
|
|
"type": "checkboxgroup",
|
|
|
|
"props": {
|
|
|
|
"choices": ["Covid", "Malaria", "Lung Cancer"],
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": [],
|
2022-03-23 23:19:12 +08:00
|
|
|
"name": "checkboxgroup",
|
|
|
|
"label": "Disease to Scan For",
|
2022-04-14 22:12:30 +08:00
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"type": "tabs",
|
|
|
|
"props": {
|
|
|
|
"css": {},
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": true
|
2022-04-14 22:12:30 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"type": "tabitem",
|
|
|
|
"props": {
|
|
|
|
"label": "X-ray",
|
|
|
|
"css": {},
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": true
|
2022-04-14 22:12:30 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"type": "row",
|
|
|
|
"props": {
|
|
|
|
"type": "row",
|
|
|
|
"css": {},
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": true
|
2022-03-23 23:19:12 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 6,
|
|
|
|
"type": "image",
|
|
|
|
"props": {
|
|
|
|
"image_mode": "RGB",
|
|
|
|
"shape": null,
|
|
|
|
"source": "upload",
|
|
|
|
"tool": "editor",
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": null,
|
2022-03-23 23:19:12 +08:00
|
|
|
"name": "image",
|
|
|
|
"label": null,
|
2022-04-14 22:12:30 +08:00
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
2022-03-23 23:19:12 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7,
|
|
|
|
"type": "json",
|
2022-04-14 22:12:30 +08:00
|
|
|
"props": {
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": "\"\"",
|
2022-04-14 22:12:30 +08:00
|
|
|
"name": "json",
|
|
|
|
"label": null,
|
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8,
|
|
|
|
"type": "button",
|
|
|
|
"props": {
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": "Run",
|
2022-03-23 23:19:12 +08:00
|
|
|
"name": "button",
|
|
|
|
"label": null,
|
2022-04-14 22:12:30 +08:00
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"type": "tabitem",
|
|
|
|
"props": {
|
|
|
|
"label": "CT Scan",
|
|
|
|
"css": {},
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": true
|
2022-04-14 22:12:30 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"type": "row",
|
|
|
|
"props": {
|
|
|
|
"type": "row",
|
|
|
|
"css": {},
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": true
|
2022-03-23 23:19:12 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 11,
|
|
|
|
"type": "image",
|
|
|
|
"props": {
|
|
|
|
"image_mode": "RGB",
|
|
|
|
"shape": null,
|
|
|
|
"source": "upload",
|
|
|
|
"tool": "editor",
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": null,
|
2022-03-23 23:19:12 +08:00
|
|
|
"name": "image",
|
|
|
|
"label": null,
|
2022-04-14 22:12:30 +08:00
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
2022-03-23 23:19:12 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 12,
|
|
|
|
"type": "json",
|
2022-04-14 22:12:30 +08:00
|
|
|
"props": {
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": "\"\"",
|
2022-04-14 22:12:30 +08:00
|
|
|
"name": "json",
|
|
|
|
"label": null,
|
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13,
|
|
|
|
"type": "button",
|
2022-04-14 22:12:30 +08:00
|
|
|
"props": {
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": "Run",
|
2022-04-14 22:12:30 +08:00
|
|
|
"name": "button",
|
|
|
|
"label": null,
|
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 14,
|
|
|
|
"type": "textbox",
|
|
|
|
"props": {
|
|
|
|
"lines": 1,
|
|
|
|
"placeholder": null,
|
2022-05-11 08:11:43 +08:00
|
|
|
"value": "",
|
2022-03-23 23:19:12 +08:00
|
|
|
"name": "textbox",
|
|
|
|
"label": null,
|
2022-04-14 22:12:30 +08:00
|
|
|
"css": {},
|
|
|
|
"interactive": null
|
2022-03-23 23:19:12 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"theme": "default",
|
|
|
|
"layout": {
|
|
|
|
"id": 0,
|
|
|
|
"children": [
|
2022-04-14 22:12:30 +08:00
|
|
|
{
|
|
|
|
"id": 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 2
|
|
|
|
},
|
2022-03-23 23:19:12 +08:00
|
|
|
{
|
|
|
|
"id": 3,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"id": 4,
|
|
|
|
"children": [
|
2022-04-14 22:12:30 +08:00
|
|
|
{
|
|
|
|
"id": 5,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"id": 6
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 7
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 8
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 9,
|
|
|
|
"children": [
|
2022-04-14 22:12:30 +08:00
|
|
|
{
|
|
|
|
"id": 10,
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"id": 11
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 12
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 13
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-04-14 22:12:30 +08:00
|
|
|
{
|
|
|
|
"id": 14
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": [
|
2022-04-14 22:12:30 +08:00
|
|
|
{
|
|
|
|
"targets": [8],
|
|
|
|
"trigger": "click",
|
|
|
|
"inputs": [2, 6],
|
|
|
|
"outputs": [7],
|
|
|
|
"queue": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"targets": [13],
|
|
|
|
"trigger": "click",
|
|
|
|
"inputs": [2, 11],
|
|
|
|
"outputs": [12],
|
|
|
|
"queue": false
|
|
|
|
}
|
2022-03-23 23:19:12 +08:00
|
|
|
]
|
|
|
|
}
|