Freak-ppa commited on
Commit
9c20447
·
verified ·
1 Parent(s): 9754000

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -406,7 +406,7 @@ with block:
406
  with gr.Row():
407
  with gr.Column():
408
  with gr.Row():
409
- input_fg = gr.Image(sources='upload', type="numpy", label="Image", image_mode=['RGBA', 'RGB'])
410
  output_bg = gr.Image(type="numpy", label="Preprocessed Foreground")
411
  prompt = gr.Textbox(label="Prompt")
412
  bg_source = gr.Radio(choices=[e.value for e in BGSource],
 
406
  with gr.Row():
407
  with gr.Column():
408
  with gr.Row():
409
+ input_fg = gr.Image(sources='upload', type="numpy", label="Image", image_mode='RGBA')
410
  output_bg = gr.Image(type="numpy", label="Preprocessed Foreground")
411
  prompt = gr.Textbox(label="Prompt")
412
  bg_source = gr.Radio(choices=[e.value for e in BGSource],