clementchadebec commited on
Commit
ff771b6
1 Parent(s): 7e46287

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -9
app.py CHANGED
@@ -183,16 +183,24 @@ with gr.Blocks(css=css) as demo:
183
 
184
  examples = gr.Examples(
185
  examples=[
186
- "examples/image_1.jpg",
187
- "examples/image_2.jpg",
188
- "examples/image_3.jpg",
189
- "examples/image_4.jpg",
190
- "examples/image_5.jpg",
191
- "examples/image_6.jpg",
192
- #"examples/image_7.jpg"
193
  ],
194
- inputs=input_im,
195
- cache_examples=True
 
 
 
 
 
 
 
 
 
196
  )
197
 
198
  gr.Markdown("**Disclaimer:**")
 
183
 
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,
195
+ randomize_seed,
196
+ input_im,
197
+ num_inference_steps,
198
+ upscale_factor,
199
+ controlnet_conditioning_scale,
200
+ ],
201
+ fn=infer,
202
+ outputs=result,
203
+ cache_examples=True,
204
  )
205
 
206
  gr.Markdown("**Disclaimer:**")