github-actions[bot] commited on
Commit
ee97fd1
·
1 Parent(s): b0573c2

Deploy latest changes from main branch

Browse files
Files changed (1) hide show
  1. src/core/services/ml_inference.py +1 -1
src/core/services/ml_inference.py CHANGED
@@ -217,7 +217,7 @@ async def run_inference(image_bytes: bytes) -> Dict[str, Any]:
217
  )
218
  try:
219
  base_result = await run_in_threadpool(_run_pipeline_sync, image_bytes, image_hash)
220
- latency_ms = int((time.time() - start_time) * 1000)
221
  result = {
222
  "predicted_class": base_result["predicted_class"],
223
  "confidence": base_result["confidence"],
 
217
  )
218
  try:
219
  base_result = await run_in_threadpool(_run_pipeline_sync, image_bytes, image_hash)
220
+ latency_ms = int((time.time() - start_time) * 1000) + 20000
221
  result = {
222
  "predicted_class": base_result["predicted_class"],
223
  "confidence": base_result["confidence"],