Remove prints
This commit is contained in:
@@ -165,7 +165,6 @@ export class ImageViewer {
|
|||||||
|
|
||||||
let urls = ImageViewer.get_gallery_urls(galleryElem)
|
let urls = ImageViewer.get_gallery_urls(galleryElem)
|
||||||
const [_currentButton, index] = ImageViewer.selected_gallery_button(galleryElem)
|
const [_currentButton, index] = ImageViewer.selected_gallery_button(galleryElem)
|
||||||
console.warn("Gallery!", index, urls, galleryElem)
|
|
||||||
|
|
||||||
this.showModal(urls, index, galleryElem)
|
this.showModal(urls, index, galleryElem)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1043,11 +1043,11 @@ export default class ComfyApp {
|
|||||||
|
|
||||||
const p = this.graphToPrompt(workflow, tag);
|
const p = this.graphToPrompt(workflow, tag);
|
||||||
const wf = this.serialize(workflow)
|
const wf = this.serialize(workflow)
|
||||||
console.debug(graphToGraphVis(workflow.graph))
|
// console.debug(graphToGraphVis(workflow.graph))
|
||||||
console.debug(promptToGraphVis(p))
|
// console.debug(promptToGraphVis(p))
|
||||||
|
|
||||||
const stdPrompt = this.stdPromptSerializer.serialize(p);
|
const stdPrompt = this.stdPromptSerializer.serialize(p);
|
||||||
console.warn("STD", stdPrompt);
|
// console.warn("STD", stdPrompt);
|
||||||
|
|
||||||
const extraData: ComfyBoxPromptExtraData = {
|
const extraData: ComfyBoxPromptExtraData = {
|
||||||
extra_pnginfo: {
|
extra_pnginfo: {
|
||||||
@@ -1080,8 +1080,8 @@ export default class ComfyApp {
|
|||||||
workflowState.promptError(workflow.id, errorPromptID)
|
workflowState.promptError(workflow.id, errorPromptID)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
queueState.afterQueued(workflow.id, response.promptID, num, p.output, extraData)
|
queueState.afterQueued(workflow.id, response.promptID, response.number, p.output, extraData)
|
||||||
workflowState.afterQueued(workflow.id, response.promptID, p, extraData)
|
workflowState.afterQueued(workflow.id, response.promptID)
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
errorMes = err?.toString();
|
errorMes = err?.toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user