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