Update app.py
Browse files
app.py
CHANGED
@@ -170,23 +170,6 @@ with gr.Blocks() as demo:
|
|
170 |
output_mask_component = gr.Image(
|
171 |
type='pil', image_mode='RGB', label='Input mask', format="png")
|
172 |
with gr.Row():
|
173 |
-
gr.Examples(
|
174 |
-
fn=process,
|
175 |
-
inputs=[
|
176 |
-
input_image_editor_component,
|
177 |
-
input_text_component,
|
178 |
-
seed_slicer_component,
|
179 |
-
randomize_seed_checkbox_component,
|
180 |
-
strength_slider_component,
|
181 |
-
num_inference_steps_slider_component
|
182 |
-
],
|
183 |
-
outputs=[
|
184 |
-
output_image_component,
|
185 |
-
output_mask_component
|
186 |
-
],
|
187 |
-
run_on_click=True,
|
188 |
-
cache_examples=True
|
189 |
-
)
|
190 |
|
191 |
submit_button_component.click(
|
192 |
fn=process,
|
|
|
170 |
output_mask_component = gr.Image(
|
171 |
type='pil', image_mode='RGB', label='Input mask', format="png")
|
172 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
|
174 |
submit_button_component.click(
|
175 |
fn=process,
|