Skip to content

Commit 1001bb0

Browse files
committed
fix: don't print the massive output
1 parent ed8f27b commit 1001bb0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

trapdata/api/api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import fastapi
1010
import pydantic
1111
from fastapi.middleware.gzip import GZipMiddleware
12-
from rich import print
1312

1413
from ..common.logs import logger # noqa: F401
1514
from . import settings
@@ -197,7 +196,7 @@ async def process(data: PipelineRequest) -> PipelineResponse:
197196
f"Processed {len(source_images)} images in {seconds_elapsed:.2f} seconds"
198197
)
199198
logger.info(f"Returning {len(all_detections)} detections")
200-
print(all_detections)
199+
# print(all_detections)
201200

202201
# If the number of detections is greater than 100, its suspicious. Log it.
203202
if len(all_detections) > 100:

0 commit comments

Comments
 (0)