BertChristiaens commited on
Commit
daf6854
1 Parent(s): 00d5911

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ if __name__ == "__main__":
95
 
96
  if st.button("Inpaint"):
97
  st.write("Start inpainting process")
98
- mask = get_mask(np.array(canvas.image_data))
99
  result = inpainting(image, mask_image, prompt, negative_prompt)
100
  st.session_state["result"] = result
101
  else:
 
95
 
96
  if st.button("Inpaint"):
97
  st.write("Start inpainting process")
98
+ mask_image = get_mask(np.array(canvas.image_data))
99
  result = inpainting(image, mask_image, prompt, negative_prompt)
100
  st.session_state["result"] = result
101
  else: