clementchadebec commited on
Commit
74d257c
1 Parent(s): 6c76323

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -184,11 +184,11 @@ with gr.Blocks(css=css) as demo:
184
  examples = gr.Examples(
185
  examples=[
186
  [42, False, "examples/image_1.jpg", 28, 4, 0.6],
187
- #[42, False, "examples/image_2.jpg", 28, 4, 0.6],
188
  [42, False, "examples/image_3.jpg", 28, 4, 0.6],
189
  [42, False, "examples/image_4.jpg", 28, 4, 0.6],
190
- #[42, False, "examples/image_5.jpg", 28, 4, 0.6],
191
- #[42, False, "examples/image_6.jpg", 28, 4, 0.6],
192
  ],
193
  inputs=[
194
  seed,
@@ -203,25 +203,25 @@ with gr.Blocks(css=css) as demo:
203
  cache_examples="lazy",
204
  )
205
 
206
- examples = gr.Examples(
207
- examples=[
208
- #[42, False, "examples/image_1.jpg", 28, 4, 0.6],
209
- [42, False, "examples/image_2.jpg", 28, 4, 0.6],
210
- #[42, False, "examples/image_3.jpg", 28, 4, 0.6],
211
- #[42, False, "examples/image_4.jpg", 28, 4, 0.6],
212
- [42, False, "examples/image_5.jpg", 28, 4, 0.6],
213
- [42, False, "examples/image_6.jpg", 28, 4, 0.6],
214
- [42, False, "examples/image_7.jpg", 28, 4, 0.6],
215
- ],
216
- inputs=[
217
- seed,
218
- randomize_seed,
219
- input_im,
220
- num_inference_steps,
221
- upscale_factor,
222
- controlnet_conditioning_scale,
223
- ],
224
- )
225
 
226
  gr.Markdown("**Disclaimer:**")
227
  gr.Markdown(
 
184
  examples = gr.Examples(
185
  examples=[
186
  [42, False, "examples/image_1.jpg", 28, 4, 0.6],
187
+ [42, False, "examples/image_2.jpg", 28, 4, 0.6],
188
  [42, False, "examples/image_3.jpg", 28, 4, 0.6],
189
  [42, False, "examples/image_4.jpg", 28, 4, 0.6],
190
+ [42, False, "examples/image_5.jpg", 28, 4, 0.6],
191
+ [42, False, "examples/image_6.jpg", 28, 4, 0.6],
192
  ],
193
  inputs=[
194
  seed,
 
203
  cache_examples="lazy",
204
  )
205
 
206
+ # examples = gr.Examples(
207
+ # examples=[
208
+ # #[42, False, "examples/image_1.jpg", 28, 4, 0.6],
209
+ # [42, False, "examples/image_2.jpg", 28, 4, 0.6],
210
+ # #[42, False, "examples/image_3.jpg", 28, 4, 0.6],
211
+ # #[42, False, "examples/image_4.jpg", 28, 4, 0.6],
212
+ # [42, False, "examples/image_5.jpg", 28, 4, 0.6],
213
+ # [42, False, "examples/image_6.jpg", 28, 4, 0.6],
214
+ # [42, False, "examples/image_7.jpg", 28, 4, 0.6],
215
+ # ],
216
+ # inputs=[
217
+ # seed,
218
+ # randomize_seed,
219
+ # input_im,
220
+ # num_inference_steps,
221
+ # upscale_factor,
222
+ # controlnet_conditioning_scale,
223
+ # ],
224
+ # )
225
 
226
  gr.Markdown("**Disclaimer:**")
227
  gr.Markdown(