Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def predict(mask_img):
|
|
21 |
|
22 |
demo = gr.Interface(
|
23 |
fn=predict,
|
24 |
-
inputs=gr.Image(),
|
25 |
outputs=gr.Image(),
|
26 |
title="Stable Diffusion Inpainting"
|
27 |
)
|
|
|
21 |
|
22 |
demo = gr.Interface(
|
23 |
fn=predict,
|
24 |
+
inputs=gr.Image(source = 'upload', tool = 'sketch'),
|
25 |
outputs=gr.Image(),
|
26 |
title="Stable Diffusion Inpainting"
|
27 |
)
|