Spaces:
Running
Running
root
commited on
Commit
·
1fbcebe
1
Parent(s):
4735fe1
test1
Browse files
app.py
CHANGED
|
@@ -444,6 +444,14 @@ if __name__ == "__main__":
|
|
| 444 |
with gr.Row():
|
| 445 |
button1 = gr.Button("Button", visible="primary")
|
| 446 |
button2 = gr.Button("Button", variant="primary")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 447 |
gr.HTML(read_content("footer.html"))
|
| 448 |
# gr.Image('./contributors.png')
|
| 449 |
|
|
|
|
| 444 |
with gr.Row():
|
| 445 |
button1 = gr.Button("Button", visible="primary")
|
| 446 |
button2 = gr.Button("Button", variant="primary")
|
| 447 |
+
image_mask = gr.Image(
|
| 448 |
+
value=None,
|
| 449 |
+
source="upload",
|
| 450 |
+
interactive=True,
|
| 451 |
+
tpye="pil",
|
| 452 |
+
tool="sketch",
|
| 453 |
+
image_mode="RGBA",
|
| 454 |
+
)
|
| 455 |
gr.HTML(read_content("footer.html"))
|
| 456 |
# gr.Image('./contributors.png')
|
| 457 |
|