diff --git a/frontend/src/pages/Layout/MainLayout.tsx b/frontend/src/pages/Layout/MainLayout.tsx index b303c509..346e314b 100644 --- a/frontend/src/pages/Layout/MainLayout.tsx +++ b/frontend/src/pages/Layout/MainLayout.tsx @@ -7,7 +7,7 @@ const MainLayout = () => { return (
-
+
{/* Sidebar */} {/* Main Content */} diff --git a/runtime/ops/mapper/img_direction_correct/process.py b/runtime/ops/mapper/img_direction_correct/process.py index cb4ba5c5..10e15a1a 100644 --- a/runtime/ops/mapper/img_direction_correct/process.py +++ b/runtime/ops/mapper/img_direction_correct/process.py @@ -64,7 +64,7 @@ def _detect_direction(image, file_name, model): rotate_angle = int(cls_res.get("class_ids", np.array([0], dtype='int32')).item()) pro = float(cls_res.get("scores", np.array([0], dtype='int32')).item()) logger.info( - f"fileName: {file_name}, model {model.model_name} detect result is {rotate_angle} with confidence {pro}") + f"fileName: {file_name}, model detect result is {rotate_angle} with confidence {pro}") if rotate_angle == 90 and pro > 0.89: return cv2.rotate(image, cv2.ROTATE_90_CLOCKWISE) if rotate_angle == 180 and pro > 0.89: