mirror of
https://github.com/open-webui/open-webui
synced 2025-05-22 05:53:20 +00:00
refac
This commit is contained in:
parent
dc3abc2bcb
commit
d59433bf7e
@ -191,11 +191,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (config.comfyui.COMFYUI_WORKFLOW) {
|
if (config.comfyui.COMFYUI_WORKFLOW) {
|
||||||
config.comfyui.COMFYUI_WORKFLOW = JSON.stringify(
|
try {
|
||||||
JSON.parse(config.comfyui.COMFYUI_WORKFLOW),
|
config.comfyui.COMFYUI_WORKFLOW = JSON.stringify(
|
||||||
null,
|
JSON.parse(config.comfyui.COMFYUI_WORKFLOW),
|
||||||
2
|
null,
|
||||||
);
|
2
|
||||||
|
);
|
||||||
|
} catch (e) {
|
||||||
|
console.log(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
requiredWorkflowNodes = requiredWorkflowNodes.map((node) => {
|
requiredWorkflowNodes = requiredWorkflowNodes.map((node) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user