Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,6 @@ def get_model():
|
|
56 |
def inference(image):
|
57 |
"""Run inference on image and return annotated image."""
|
58 |
model = get_model()
|
59 |
-
model.model.alloc_arrays.fill(0)
|
60 |
results = model(image)
|
61 |
return results.draw(image, diameter=4)
|
62 |
|
|
|
56 |
def inference(image):
|
57 |
"""Run inference on image and return annotated image."""
|
58 |
model = get_model()
|
|
|
59 |
results = model(image)
|
60 |
return results.draw(image, diameter=4)
|
61 |
|