Skip to content

Commit

Permalink
Fix width and height
Browse files Browse the repository at this point in the history
  • Loading branch information
fofr committed Feb 29, 2024
1 parent 3e15d56 commit 71a6923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def update_workflow(
is_upscale,
):
loader = workflow["2"]["inputs"]
loader["width"] = width
loader["height"] = height
loader["empty_latent_width"] = width
loader["empty_latent_height"] = height
loader["positive"] = f"Sticker, {prompt}, svg, solid color background"
loader["negative"] = f"nsfw, nude, {negative_prompt}, photo, photography"

Expand Down

0 comments on commit 71a6923

Please sign in to comment.