xinghaochen commited on
Commit
507e5e7
1 Parent(s): de08842

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def on_image_upload(
100
  session_state['image_with_prompt'] = copy.deepcopy(image)
101
  print("Image changed")
102
  nd_image = np.array(image)
103
- session_state['feature'] = None #predictor.set_image(nd_image)
104
 
105
  return image, session_state
106
 
 
100
  session_state['image_with_prompt'] = copy.deepcopy(image)
101
  print("Image changed")
102
  nd_image = np.array(image)
103
+ session_state['feature'] = predictor.set_image(nd_image)
104
 
105
  return image, session_state
106