mkrzyzan commited on
Commit
f863024
Β·
1 Parent(s): e3a1cf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
  )