Skip to content

Commit

Permalink
hardcode w,h = 1024,1024
Browse files Browse the repository at this point in the history
  • Loading branch information
aiXander authored Apr 14, 2024
1 parent 4514429 commit c9630f7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions logos/creation_interfaces/kojii_chebel.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@ def kojii_chebel(request: KojiiChebelRequest, callback=None):
prompt = "oil painting, black and white, woman, dance, expressive brushstrokes, charcoal drawing"
negative_prompt = "color, colors, red, pink, purple, green, orange, yellow, blue, colorful, watermark, text, tiling, out of frame, blurry, blurred, grainy, signature, cut off, draft"

if request.aspect_ratio == AspectRatio.portrait:
w, h = 1024, 1536
elif request.aspect_ratio == AspectRatio.landscape:
w, h = 1536, 1024
# Hardcoded to 1024x1024 as per Chebel's request (aspect ratio of init_img will still get adopted)
w, h = 1024, 1024

control_image = random.choice(
control_images[request.number.value][request.aspect_ratio.value],
Expand Down

0 comments on commit c9630f7

Please sign in to comment.