Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -795,7 +795,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(), css=CSS,
|
|
| 795 |
with gr.Column(scale=1):
|
| 796 |
inp_editor = gr.ImageEditor(
|
| 797 |
label="Draw Mask (paint = redo)",
|
| 798 |
-
type="
|
| 799 |
brush=gr.Brush(colors=["#ff0000"], color_mode="fixed"),
|
| 800 |
height=300)
|
| 801 |
inp_use_ema = _ema_ctrl()
|
|
|
|
| 795 |
with gr.Column(scale=1):
|
| 796 |
inp_editor = gr.ImageEditor(
|
| 797 |
label="Draw Mask (paint = redo)",
|
| 798 |
+
type="pil", image_mode="RGBA",
|
| 799 |
brush=gr.Brush(colors=["#ff0000"], color_mode="fixed"),
|
| 800 |
height=300)
|
| 801 |
inp_use_ema = _ema_ctrl()
|