comdoleger commited on
Commit
b5f6c86
·
verified ·
1 Parent(s): b292278

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -407,7 +407,7 @@ with block:
407
 
408
  with gr.Row():
409
  with gr.Column(scale=0.15):
410
- fore = 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,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