Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -407,7 +407,7 @@ with block:
|
|
407 |
|
408 |
with gr.Row():
|
409 |
with gr.Column(scale=0.15):
|
410 |
-
|
411 |
imgholder = gr.Image(image_mode='RGBA', type="pil", height=400, label='Output')
|
412 |
|
413 |
gr.Examples(
|
@@ -419,7 +419,7 @@ with block:
|
|
419 |
|
420 |
)
|
421 |
|
422 |
-
|
423 |
ins = [fore, prompt, intensity, mode, refprompt, isrmbg]
|
424 |
generate_button.click(fn=process_generate, inputs=ins, outputs=[result_gallery])
|
425 |
|
|
|
407 |
|
408 |
with gr.Row():
|
409 |
with gr.Column(scale=0.15):
|
410 |
+
before = gr.Image(image_mode='RGBA', type="pil", label="Input", height=400)
|
411 |
imgholder = gr.Image(image_mode='RGBA', type="pil", height=400, label='Output')
|
412 |
|
413 |
gr.Examples(
|
|
|
419 |
|
420 |
)
|
421 |
|
422 |
+
before = fore
|
423 |
ins = [fore, prompt, intensity, mode, refprompt, isrmbg]
|
424 |
generate_button.click(fn=process_generate, inputs=ins, outputs=[result_gallery])
|
425 |
|