Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
08cde83
1
Parent(s):
0e5f7a7
22
Browse files
app.py
CHANGED
|
@@ -242,7 +242,11 @@ with gr.Blocks() as demo:
|
|
| 242 |
# polished_prompt = gr.Textbox(label="Polished prompt", interactive=False)
|
| 243 |
|
| 244 |
with gr.Accordion("Preprocessor data", open=False):
|
| 245 |
-
mask_image = gr.Image(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246 |
|
| 247 |
gr.Examples(examples=examples, inputs=[edit_dict, prompt])
|
| 248 |
gr.Markdown(read_file("static/footer.md"))
|
|
|
|
| 242 |
# polished_prompt = gr.Textbox(label="Polished prompt", interactive=False)
|
| 243 |
|
| 244 |
with gr.Accordion("Preprocessor data", open=False):
|
| 245 |
+
mask_image = gr.Image(
|
| 246 |
+
label="Generated Mask",
|
| 247 |
+
interactive=False,
|
| 248 |
+
type="pil",
|
| 249 |
+
)
|
| 250 |
|
| 251 |
gr.Examples(examples=examples, inputs=[edit_dict, prompt])
|
| 252 |
gr.Markdown(read_file("static/footer.md"))
|