Spaces:
Runtime error
Runtime error
hide examples for now
Browse files
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 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
| 215 |
-
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 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,
|