diff --git a/app/layout.tsx b/app/layout.tsx index 04b372b..8cd2598 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -40,7 +40,7 @@ export default function RootLayout({ children: React.ReactNode }>) { return ( - + {children} diff --git a/app/new-analysis/page.tsx b/app/new-analysis/page.tsx index d12af67..5f15f3f 100644 --- a/app/new-analysis/page.tsx +++ b/app/new-analysis/page.tsx @@ -1,12 +1,17 @@ "use client" import { useRouter } from "next/navigation" -import { ProjectSelectionSection } from "@/components/project-selection-section" +import dynamic from "next/dynamic" import { SidebarNavigation } from "@/components/sidebar-navigation" import { type SessionContext, saveSession } from "@/lib/api" import { TrendingUp } from "lucide-react" import { PageHeader } from "@/components/page-header" +const ProjectSelectionSection = dynamic( + () => import("@/components/project-selection-section").then(mod => mod.ProjectSelectionSection), + { ssr: false } +) + export default function NewAnalysisPage() { const router = useRouter() diff --git a/app/upload/page.tsx b/app/upload/page.tsx index 07732ed..955c04d 100644 --- a/app/upload/page.tsx +++ b/app/upload/page.tsx @@ -316,6 +316,9 @@ export default function UploadPage() { OpenAI SAM 3 Segmentation Model + + YOLOE Open-Vocabulary Detection + diff --git a/components/upload-section.tsx b/components/upload-section.tsx index 6bf831a..29abc2a 100644 --- a/components/upload-section.tsx +++ b/components/upload-section.tsx @@ -334,6 +334,11 @@ export function UploadSection({ onDetectionComplete, onDetectionTypeChange }: Up SAM 3 + +
+ YOLOE +
+