edit : 안경이미지 검색시 temp 이미지 사용 안함

This commit is contained in:
2026-01-02 09:45:29 +09:00
parent e2190eadba
commit 80f5e50c31
6 changed files with 107 additions and 11 deletions

View File

@@ -84,8 +84,8 @@ async def vactor_vit(request: Request, request_body_info: M.VectorSearchVitReq):
"""
response = M.VectorSearchVitRes()
try:
if not os.path.exists(request_body_info.query_image_path):
raise FileNotFoundError(f"File {request_body_info.query_image_path} does not exist.")
# if not os.path.exists(request_body_info.query_image_path):
# raise FileNotFoundError(f"File {request_body_info.query_image_path} does not exist.")
model = get_models(index_type=request_body_info.index_type, model_type=request_body_info.model_type)