Set transparent background to false by default
Browse files
app.py
CHANGED
|
@@ -204,7 +204,7 @@ iface = gr.Interface(
|
|
| 204 |
inputs=[
|
| 205 |
gr.Image(type="filepath", label="Input Image"),
|
| 206 |
gr.ColorPicker(label="Background Color (ignored if transparent is selected)", value="#FFFFFF"),
|
| 207 |
-
gr.Checkbox(label="Transparent Background", value=
|
| 208 |
gr.Dropdown(
|
| 209 |
choices=[""] + [f"{k} | {v}" for k, v in MODEL_OPTIONS.items() if k != ""],
|
| 210 |
label="Model Selection",
|
|
|
|
| 204 |
inputs=[
|
| 205 |
gr.Image(type="filepath", label="Input Image"),
|
| 206 |
gr.ColorPicker(label="Background Color (ignored if transparent is selected)", value="#FFFFFF"),
|
| 207 |
+
gr.Checkbox(label="Transparent Background", value=False),
|
| 208 |
gr.Dropdown(
|
| 209 |
choices=[""] + [f"{k} | {v}" for k, v in MODEL_OPTIONS.items() if k != ""],
|
| 210 |
label="Model Selection",
|