chore: resolve marge confict
This commit is contained in:
@@ -40,7 +40,7 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
}>) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en" data-scroll-behavior="smooth">
|
||||||
<body className={`font-sans antialiased`} suppressHydrationWarning>
|
<body className={`font-sans antialiased`} suppressHydrationWarning>
|
||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
{children}
|
{children}
|
||||||
|
|||||||
@@ -1,12 +1,17 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
|
||||||
import { useRouter } from "next/navigation"
|
import { useRouter } from "next/navigation"
|
||||||
import { ProjectSelectionSection } from "@/components/project-selection-section"
|
import dynamic from "next/dynamic"
|
||||||
import { SidebarNavigation } from "@/components/sidebar-navigation"
|
import { SidebarNavigation } from "@/components/sidebar-navigation"
|
||||||
import { type SessionContext, saveSession } from "@/lib/api"
|
import { type SessionContext, saveSession } from "@/lib/api"
|
||||||
import { TrendingUp } from "lucide-react"
|
import { TrendingUp } from "lucide-react"
|
||||||
import { PageHeader } from "@/components/page-header"
|
import { PageHeader } from "@/components/page-header"
|
||||||
|
|
||||||
|
const ProjectSelectionSection = dynamic(
|
||||||
|
() => import("@/components/project-selection-section").then(mod => mod.ProjectSelectionSection),
|
||||||
|
{ ssr: false }
|
||||||
|
)
|
||||||
|
|
||||||
export default function NewAnalysisPage() {
|
export default function NewAnalysisPage() {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|
||||||
|
|||||||
@@ -316,6 +316,9 @@ export default function UploadPage() {
|
|||||||
<SelectItem value="sam3">
|
<SelectItem value="sam3">
|
||||||
<span className="font-medium">OpenAI SAM 3 Segmentation Model</span>
|
<span className="font-medium">OpenAI SAM 3 Segmentation Model</span>
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
|
<SelectItem value="yoloe">
|
||||||
|
<span className="font-medium">YOLOE Open-Vocabulary Detection</span>
|
||||||
|
</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -334,6 +334,11 @@ export function UploadSection({ onDetectionComplete, onDetectionTypeChange }: Up
|
|||||||
<span>SAM 3</span>
|
<span>SAM 3</span>
|
||||||
</div>
|
</div>
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
|
<SelectItem value="yoloe">
|
||||||
|
<div className="flex items-center gap-2">
|
||||||
|
<span>YOLOE</span>
|
||||||
|
</div>
|
||||||
|
</SelectItem>
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
</Select>
|
</Select>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user