edit : 안경이미지 검색시 temp 이미지 사용 안함
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user