alexeyGod commited on
Commit
ff59394
·
verified ·
1 Parent(s): 91ead86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -75,7 +75,7 @@ def infer(
75
 
76
  image = pipe(
77
  prompt=prompt,
78
- negative_prompt=negative_prompt1,
79
  guidance_scale=guidance_scale,
80
  num_inference_steps=num_inference_steps,
81
  width=width,
@@ -147,7 +147,7 @@ with gr.Blocks(css=css) as demo:
147
  minimum=256,
148
  maximum=MAX_IMAGE_SIZE,
149
  step=32,
150
- value=1024, # Replace with defaults that work for your model
151
  )
152
 
153
  height = gr.Slider(
@@ -155,7 +155,7 @@ with gr.Blocks(css=css) as demo:
155
  minimum=256,
156
  maximum=MAX_IMAGE_SIZE,
157
  step=32,
158
- value=1024, # Replace with defaults that work for your model
159
  )
160
 
161
  with gr.Row():
 
75
 
76
  image = pipe(
77
  prompt=prompt,
78
+ negative_prompt=negative_prompt,
79
  guidance_scale=guidance_scale,
80
  num_inference_steps=num_inference_steps,
81
  width=width,
 
147
  minimum=256,
148
  maximum=MAX_IMAGE_SIZE,
149
  step=32,
150
+ value=512, # Replace with defaults that work for your model
151
  )
152
 
153
  height = gr.Slider(
 
155
  minimum=256,
156
  maximum=MAX_IMAGE_SIZE,
157
  step=32,
158
+ value=512, # Replace with defaults that work for your model
159
  )
160
 
161
  with gr.Row():