Lifeinhockey commited on
Commit
fb9b3f5
·
verified ·
1 Parent(s): 7e6021f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -138,9 +138,9 @@ with gr.Blocks(css=css) as demo:
138
  value=20, # Replace with defaults that work for your model
139
  )
140
 
141
- run_button = gr.Button("Run", scale=0, variant="primary")
142
 
143
- result = gr.Image(label="Result", show_label=False)
144
 
145
  with gr.Accordion("Advanced Settings", open=False):
146
 
@@ -150,7 +150,7 @@ with gr.Blocks(css=css) as demo:
150
  minimum=256,
151
  maximum=MAX_IMAGE_SIZE,
152
  step=32,
153
- value=1024, # Replace with defaults that work for your model
154
  )
155
 
156
  height = gr.Slider(
@@ -158,9 +158,14 @@ with gr.Blocks(css=css) as demo:
158
  minimum=256,
159
  maximum=MAX_IMAGE_SIZE,
160
  step=32,
161
- value=1024, # Replace with defaults that work for your model
162
  )
163
 
 
 
 
 
 
164
  gr.Examples(examples=examples, inputs=[prompt])
165
  gr.Examples(examples=examples_negative, inputs=[negative_prompt])
166
 
 
138
  value=20, # Replace with defaults that work for your model
139
  )
140
 
141
+ #run_button = gr.Button("Run", scale=0, variant="primary")
142
 
143
+ #result = gr.Image(label="Result", show_label=False)
144
 
145
  with gr.Accordion("Advanced Settings", open=False):
146
 
 
150
  minimum=256,
151
  maximum=MAX_IMAGE_SIZE,
152
  step=32,
153
+ value=512, # Replace with defaults that work for your model
154
  )
155
 
156
  height = gr.Slider(
 
158
  minimum=256,
159
  maximum=MAX_IMAGE_SIZE,
160
  step=32,
161
+ value=512, # Replace with defaults that work for your model
162
  )
163
 
164
+
165
+ run_button = gr.Button("Run", scale=0, variant="primary")
166
+
167
+ result = gr.Image(label="Result", show_label=False)
168
+
169
  gr.Examples(examples=examples, inputs=[prompt])
170
  gr.Examples(examples=examples_negative, inputs=[negative_prompt])
171