Menyu commited on
Commit
22f8263
1 Parent(s): 27a4fd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -48,8 +48,8 @@ def generate(
48
  negative_prompt: str = "",
49
  use_negative_prompt: bool = False,
50
  seed: int = 1,
51
- width: int = 1024,
52
- height: int = 1024,
53
  guidance_scale: float = 3,
54
  num_inference_steps: int = 30,
55
  randomize_seed: bool = False,
@@ -154,9 +154,9 @@ with gr.Blocks(css=css) as demo:
154
  num_inference_steps = gr.Slider(
155
  label="Number of inference steps",
156
  minimum=1,
157
- maximum=15,
158
  step=1,
159
- value=8,
160
  )
161
 
162
  gr.Examples(
 
48
  negative_prompt: str = "",
49
  use_negative_prompt: bool = False,
50
  seed: int = 1,
51
+ width: int = 512,
52
+ height: int = 768,
53
  guidance_scale: float = 3,
54
  num_inference_steps: int = 30,
55
  randomize_seed: bool = False,
 
154
  num_inference_steps = gr.Slider(
155
  label="Number of inference steps",
156
  minimum=1,
157
+ maximum=50,
158
  step=1,
159
+ value=28,
160
  )
161
 
162
  gr.Examples(