Skip to content

Commit d272cbd

Browse files
ryanontheinsideryanontheinstide
andauthored
fix: disable latent preview (#118)
this fix starts ComfyUI with the latent preview feature disabled. Co-authored-by: ryanontheinstide <ryanfosdick87@gmail.com>
1 parent f01988b commit d272cbd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ launch.json
2020
.env.production
2121

2222
nodes/web/static/*
23+
.cursor/
2324
!nodes/web/static/.gitkeep

server/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ async def on_startup(app: web.Application):
345345
patch_loop_datagram(app["media_ports"])
346346

347347
app["pipeline"] = Pipeline(
348-
cwd=app["workspace"], disable_cuda_malloc=True, gpu_only=True
348+
cwd=app["workspace"], disable_cuda_malloc=True, gpu_only=True, preview_method='none'
349349
)
350350
app["pcs"] = set()
351351
app["video_tracks"] = {}

0 commit comments

Comments
 (0)