Update app.py
Browse files
app.py
CHANGED
|
@@ -417,7 +417,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 417 |
with gr.Tab("Inversion"):
|
| 418 |
with gr.Row():
|
| 419 |
with gr.Column():
|
| 420 |
-
input_image = gr.Image(
|
| 421 |
height=512, width=512, brush_color='#00FFFF', mask_opacity=0.6)
|
| 422 |
|
| 423 |
|
|
|
|
| 417 |
with gr.Tab("Inversion"):
|
| 418 |
with gr.Row():
|
| 419 |
with gr.Column():
|
| 420 |
+
input_image = gr.Image(sources='upload', elem_id="image_upload", tool='sketch', type='pil', label="Upload image and draw to define mask",
|
| 421 |
height=512, width=512, brush_color='#00FFFF', mask_opacity=0.6)
|
| 422 |
|
| 423 |
|