From 66fc110b6484999106092ff01ecc25d91458f1fd Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 17 May 2024 16:09:47 +1000 Subject: [PATCH] Revert "feat(ui): store workflow in generation tab images" This reverts commit c9c4190fb45696088207b0ac3c69c2795d7f9694. --- .../listenerMiddleware/listeners/enqueueRequestedLinear.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/enqueueRequestedLinear.ts b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/enqueueRequestedLinear.ts index 4bef10c312..6ca7ee7ffa 100644 --- a/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/enqueueRequestedLinear.ts +++ b/invokeai/frontend/web/src/app/store/middleware/listenerMiddleware/listeners/enqueueRequestedLinear.ts @@ -4,7 +4,6 @@ import { isImageViewerOpenChanged } from 'features/gallery/store/gallerySlice'; import { prepareLinearUIBatch } from 'features/nodes/util/graph/buildLinearBatchConfig'; import { buildGenerationTabGraph } from 'features/nodes/util/graph/generation/buildGenerationTabGraph'; import { buildGenerationTabSDXLGraph } from 'features/nodes/util/graph/generation/buildGenerationTabSDXLGraph'; -import { graphToWorkflow } from 'features/nodes/util/workflow/graphToWorkflow'; import { queueApi } from 'services/api/endpoints/queue'; export const addEnqueueRequestedLinear = (startAppListening: AppStartListening) => { @@ -26,8 +25,6 @@ export const addEnqueueRequestedLinear = (startAppListening: AppStartListening) } const batchConfig = prepareLinearUIBatch(state, graph, prepend); - const workflow = graphToWorkflow(graph); - batchConfig.batch.workflow = workflow; const req = dispatch( queueApi.endpoints.enqueueBatch.initiate(batchConfig, {