microhan commited on
Commit
565c48b
·
verified ·
1 Parent(s): fe74bfc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -136,7 +136,7 @@ def segment_with_boxs(
136
  annotations = np.array([annotations])
137
  print(scaled_points.shape)
138
  # change this
139
- fig = fast_show_mask(
140
  annotations=annotations,
141
  image=image,
142
  device=device,
@@ -216,7 +216,7 @@ def segment_with_points(
216
  annotations = np.array([annotations])
217
 
218
  # change this
219
- fig = fast_show_mask(
220
  annotations=annotations,
221
  image=image,
222
  device=device,
 
136
  annotations = np.array([annotations])
137
  print(scaled_points.shape)
138
  # change this
139
+ fig = fast_process(
140
  annotations=annotations,
141
  image=image,
142
  device=device,
 
216
  annotations = np.array([annotations])
217
 
218
  # change this
219
+ fig = fast_process(
220
  annotations=annotations,
221
  image=image,
222
  device=device,