Begin serializer tests

This commit is contained in:
space-nuko
2023-05-15 21:51:37 -05:00
parent 8d1ee2d8d5
commit 7ca0ee1e7f
8 changed files with 327 additions and 29 deletions

View File

@@ -541,7 +541,7 @@ export default class ComfyApp {
* @returns The workflow and node links
*/
graphToPrompt(tag: string | null = null): SerializedPrompt {
return this.promptSerializer.serializePrompt(this.lGraph, tag)
return this.promptSerializer.serialize(this.lGraph, tag)
}
async queuePrompt(num: number, batchCount: number = 1, tag: string | null = null) {