Fix: 에러 해결
This commit is contained in:
parent
fbc2c1b46a
commit
4370631d5c
@ -51,7 +51,7 @@ async def detection_predict(request: PredictRequest):
|
||||
send_slack_message(f"추론 결과 변환 완료 (projectId: {project_id}). 걸린 시간: {time.time() - start_time:.2f} 초",
|
||||
status="success")
|
||||
|
||||
send_slack_message(f"Detection predict 성공 (projectId: {project_id}) {response}", status="success")
|
||||
send_slack_message(f"Detection predict 성공 (projectId: {project_id}) {len(response)}", status="success")
|
||||
|
||||
return response
|
||||
|
||||
|
@ -18,7 +18,7 @@ router = APIRouter()
|
||||
@router.post("/predict")
|
||||
async def segmentation_predict(request: PredictRequest):
|
||||
project_id = request.project_id
|
||||
send_slack_message(f"Segmentation predict 요청 (projectId: {project_id}, 이미지 개수: {len(request.data)})",
|
||||
send_slack_message(f"Segmentation predict 요청 (projectId: {project_id}, 이미지 개수: {len(request.image_list)})",
|
||||
status="success")
|
||||
|
||||
# 모델 로드
|
||||
|
Loading…
Reference in New Issue
Block a user