BertChristiaens commited on
Commit
d0613b1
1 Parent(s): 2379311

segmentation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ def make_editing_canvas(canvas_color, brush, _reset_state, generation_mode, pain
185
  with st.spinner(text="Generating image"):
186
  result_image = make_image_controlnet(image=image,
187
  mask_image=mask,
188
- controlnet_conditioning_image=seg,
189
  positive_prompt=st.session_state['positive_prompt'],
190
  negative_prompt=st.session_state['negative_prompt'],
191
  seed=random.randint(0, 100000) # nosec
 
185
  with st.spinner(text="Generating image"):
186
  result_image = make_image_controlnet(image=image,
187
  mask_image=mask,
188
+ controlnet_conditioning_image=segmentation,
189
  positive_prompt=st.session_state['positive_prompt'],
190
  negative_prompt=st.session_state['negative_prompt'],
191
  seed=random.randint(0, 100000) # nosec