Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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=
|
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],
|