Spaces:
Runtime error
Runtime error
Alexander McKinney
commited on
Commit
•
153c041
1
Parent(s):
a9b0286
adds new default image
Browse filesold one was quite tricky, intended for segmentation
- README.md +1 -0
- app.py +1 -2
- example.png +0 -0
README.md
CHANGED
@@ -23,3 +23,4 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
23 |
- [ ] setting a random seed
|
24 |
- [ ] click support for segmentation
|
25 |
- [ ] draw on mask
|
|
|
|
23 |
- [ ] setting a random seed
|
24 |
- [ ] click support for segmentation
|
25 |
- [ ] draw on mask
|
26 |
+
- [ ] batching support (blocked by inpainting issue involving tensors + batched inputs)
|
app.py
CHANGED
@@ -164,8 +164,7 @@ with demo:
|
|
164 |
# gr.Markdown("# Stable Diffusion Inpainting Segmentation")
|
165 |
|
166 |
# Input image control
|
167 |
-
input_image = gr.Image(value="
|
168 |
-
|
169 |
# Combined mask controls
|
170 |
bt_masks = gr.Button("Compute Masks")
|
171 |
with gr.Row():
|
|
|
164 |
# gr.Markdown("# Stable Diffusion Inpainting Segmentation")
|
165 |
|
166 |
# Input image control
|
167 |
+
input_image = gr.Image(value="example.png", type='pil', label="Input Image")
|
|
|
168 |
# Combined mask controls
|
169 |
bt_masks = gr.Button("Compute Masks")
|
170 |
with gr.Row():
|
example.png
ADDED