KingNish commited on
Commit
3cb91bd
1 Parent(s): 7ab092f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -55,8 +55,8 @@ def generate(
55
  negative_prompt: str = "",
56
  use_negative_prompt: bool = False,
57
  seed: int = 0,
58
- width: int = 2048,
59
- height: int = 2048,
60
  guidance_scale: float = 3,
61
  num_inference_steps: int = 10,
62
  randomize_seed: bool = False,
@@ -142,14 +142,14 @@ with gr.Blocks(css=css) as demo:
142
  minimum=512,
143
  maximum=MAX_IMAGE_SIZE,
144
  step=64,
145
- value=1536,
146
  )
147
  height = gr.Slider(
148
  label="Height",
149
  minimum=512,
150
  maximum=MAX_IMAGE_SIZE,
151
  step=64,
152
- value=1536,
153
  )
154
  with gr.Row():
155
  guidance_scale = gr.Slider(
 
55
  negative_prompt: str = "",
56
  use_negative_prompt: bool = False,
57
  seed: int = 0,
58
+ width: int = 1024,
59
+ height: int = 1024,
60
  guidance_scale: float = 3,
61
  num_inference_steps: int = 10,
62
  randomize_seed: bool = False,
 
142
  minimum=512,
143
  maximum=MAX_IMAGE_SIZE,
144
  step=64,
145
+ value=1024,
146
  )
147
  height = gr.Slider(
148
  label="Height",
149
  minimum=512,
150
  maximum=MAX_IMAGE_SIZE,
151
  step=64,
152
+ value=1024,
153
  )
154
  with gr.Row():
155
  guidance_scale = gr.Slider(