We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ce59e commit 5d2e846Copy full SHA for 5d2e846
web/js/VHS.core.js
@@ -2143,6 +2143,9 @@ app.registerExtension({
2143
let originalGraphToPrompt = app.graphToPrompt
2144
let graphToPrompt = async function() {
2145
let res = await originalGraphToPrompt.apply(this, arguments);
2146
+ if (!res || !res.workflow) {
2147
+ return res;
2148
+ }
2149
res.workflow.extra['VHS_latentpreview'] = app.ui.settings.getSettingValue("VHS.LatentPreview")
2150
res.workflow.extra['VHS_latentpreviewrate'] = app.ui.settings.getSettingValue("VHS.LatentPreviewRate")
2151
res.workflow.extra['VHS_MetadataImage'] = app.ui.settings.getSettingValue("VHS.MetadataImage")
0 commit comments