mkrzyzan commited on
Commit
3155efd
Β·
1 Parent(s): 4ed7d10

Update app.py

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