From 87445d757b46e1ea5e693c97b7193b23c82112c9 Mon Sep 17 00:00:00 2001 From: "santasri.pachhal" Date: Fri, 20 Mar 2026 11:00:13 +0530 Subject: [PATCH] refactor: remove unwanted dropdown items --- src/app/(modules)/upload/page.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/(modules)/upload/page.tsx b/src/app/(modules)/upload/page.tsx index 35a446c..7906ba8 100644 --- a/src/app/(modules)/upload/page.tsx +++ b/src/app/(modules)/upload/page.tsx @@ -24,13 +24,13 @@ import { Reveal } from '@/components/ui/reveal'; import { cn } from '@/lib/utils'; const DETECTION_METHODS = [ - { value: 'yolo', label: 'YOLO Detection Model' }, - { value: 'yolo_vl', label: 'YOLO with Vision-Language Model' }, - { value: 'sam3', label: 'OpenAI SAM 3 Segmentation Model' }, - { value: 'yoloe', label: 'YOLOE Open-Vocabulary Detection' }, - { value: 'yoloe_trained_vl', label: 'YOLOE With Vision Language Model' }, + // { value: 'yolo', label: 'YOLO Detection Model' }, + // { value: 'yolo_vl', label: 'YOLO with Vision-Language Model' }, + // { value: 'sam3', label: 'OpenAI SAM 3 Segmentation Model' }, + // { value: 'yoloe', label: 'YOLOE Open-Vocabulary Detection' }, + // { value: 'yoloe_trained_vl', label: 'YOLOE With Vision Language Model' }, { value: 'culvert_detection', label: 'Culvert Detection' }, - { value: 'combined', label: 'Combined Detection Model' }, + { value: 'combined', label: 'Road Defect Detection' }, ] as const; export default function UploadPage() { @@ -41,7 +41,7 @@ export default function UploadPage() { // Form states const [file, setFile] = useState(null); const [jsonFile, setJsonFile] = useState(null); - const [selectMethod, setSelectMethod] = useState('yolo_vl'); + const [selectMethod, setSelectMethod] = useState('combined'); // Upload states const [uploading, setUploading] = useState(false);