SkalskiP commited on
Commit
ac215a6
1 Parent(s): 67d479e

hide examples for now

Browse files
Files changed (1) hide show
  1. app.py +19 -19
app.py CHANGED
@@ -201,25 +201,25 @@ with gr.Blocks() as demo:
201
  with gr.Accordion("Debug", open=False):
202
  output_mask_component = gr.Image(
203
  type='pil', image_mode='RGB', label='Input mask', format="png")
204
- # with gr.Row():
205
- # gr.Examples(
206
- # fn=process,
207
- # examples=EXAMPLES,
208
- # inputs=[
209
- # input_image_editor_component,
210
- # input_text_component,
211
- # seed_slicer_component,
212
- # randomize_seed_checkbox_component,
213
- # strength_slider_component,
214
- # num_inference_steps_slider_component
215
- # ],
216
- # outputs=[
217
- # output_image_component,
218
- # output_mask_component
219
- # ],
220
- # run_on_click=True,
221
- # cache_examples=False
222
- # )
223
 
224
  submit_button_component.click(
225
  fn=process,
 
201
  with gr.Accordion("Debug", open=False):
202
  output_mask_component = gr.Image(
203
  type='pil', image_mode='RGB', label='Input mask', format="png")
204
+ with gr.Row():
205
+ gr.Examples(
206
+ fn=process,
207
+ examples=EXAMPLES,
208
+ inputs=[
209
+ input_image_editor_component,
210
+ input_text_component,
211
+ seed_slicer_component,
212
+ randomize_seed_checkbox_component,
213
+ strength_slider_component,
214
+ num_inference_steps_slider_component
215
+ ],
216
+ outputs=[
217
+ output_image_component,
218
+ output_mask_component
219
+ ],
220
+ run_on_click=True,
221
+ cache_examples=False
222
+ )
223
 
224
  submit_button_component.click(
225
  fn=process,