Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
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 =
|
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,
|