alkzar90 commited on
Commit
c62fc67
·
1 Parent(s): 4641216

hide examples

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -161,7 +161,7 @@ CSS = ".output-image, .input-image, .image-preview {height: 250px !important}"
161
  inputs = [
162
  gr.ColorPicker(label="color (click on the square to pick the color)", value="#DF5C16"), # Add any inputs you need here
163
  gr.Slider(label="color_guidance_scale (how strong to blend the color)", minimum=0, maximum=30, value=6.7),
164
- gr.Slider(label="num_examples (# images generated)", minimum=4, maximum=12, value=8, step=4),
165
  gr.Number(label="seed (reproducibility and experimentation)", value=666),
166
  gr.Text(label="Text prompt (optional)", value=None),
167
  gr.Slider(label="prompt_guidance_scale (...)", minimum=0, maximum=1000, value=10),
@@ -177,14 +177,14 @@ demo = gr.Interface(
177
  inputs=inputs,
178
  outputs=outputs,
179
  css=CSS,
180
- examples=[
181
  #["#DF5C16", 6.7, 12, 666, None, None, None, 40],
182
  #["#C01660", 13.5, 12, 1990, None, None, None, 40],
183
  #["#44CCAA", 8.9, 12, 1512, None, None, None, 40],
184
- ["#39A291", 5.0, 8, 666, "A sakura tree", 60, 4, 52],
185
  #["#0E0907", 0.0, 12, 666, "A big whale in the ocean", 60, 8, 52],
186
  #["#19A617", 4.6, 12, 666, "An island with sunset at background", 140, 4, 47],
187
- ],
188
  title=TITLE,
189
  description=DESCRIPTION,
190
  )
 
161
  inputs = [
162
  gr.ColorPicker(label="color (click on the square to pick the color)", value="#DF5C16"), # Add any inputs you need here
163
  gr.Slider(label="color_guidance_scale (how strong to blend the color)", minimum=0, maximum=30, value=6.7),
164
+ gr.Slider(label="num_examples (# images generated)", minimum=2, maximum=12, value=2, step=4),
165
  gr.Number(label="seed (reproducibility and experimentation)", value=666),
166
  gr.Text(label="Text prompt (optional)", value=None),
167
  gr.Slider(label="prompt_guidance_scale (...)", minimum=0, maximum=1000, value=10),
 
177
  inputs=inputs,
178
  outputs=outputs,
179
  css=CSS,
180
+ #examples=[
181
  #["#DF5C16", 6.7, 12, 666, None, None, None, 40],
182
  #["#C01660", 13.5, 12, 1990, None, None, None, 40],
183
  #["#44CCAA", 8.9, 12, 1512, None, None, None, 40],
184
+ #["#39A291", 5.0, 2, 666, "A sakura tree", 60, 4, 40],
185
  #["#0E0907", 0.0, 12, 666, "A big whale in the ocean", 60, 8, 52],
186
  #["#19A617", 4.6, 12, 666, "An island with sunset at background", 140, 4, 47],
187
+ #],
188
  title=TITLE,
189
  description=DESCRIPTION,
190
  )