Skip to content

Commit

Permalink
fix: serve from UI has no workspace (#45)
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming authored Feb 12, 2025
1 parent cbf66db commit d5dbda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comfy_pack/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def generate(
output_dir=ctx.temp_dir,
timeout=REQUEST_TIMEOUT,
verbose=verbose,
workspace=self.server.workspace,
workspace=self.server.workspace if hasattr(self, "server") else ".",
**kwargs,
)
if isinstance(ret, list):
Expand Down

0 comments on commit d5dbda8

Please sign in to comment.