refactor: remove unwanted dropdown items

This commit is contained in:
2026-03-20 11:00:13 +05:30
parent ca34561540
commit 87445d757b

View File

@@ -24,13 +24,13 @@ import { Reveal } from '@/components/ui/reveal';
import { cn } from '@/lib/utils'; import { cn } from '@/lib/utils';
const DETECTION_METHODS = [ const DETECTION_METHODS = [
{ value: 'yolo', label: 'YOLO Detection Model' }, // { value: 'yolo', label: 'YOLO Detection Model' },
{ value: 'yolo_vl', label: 'YOLO with Vision-Language Model' }, // { value: 'yolo_vl', label: 'YOLO with Vision-Language Model' },
{ value: 'sam3', label: 'OpenAI SAM 3 Segmentation Model' }, // { value: 'sam3', label: 'OpenAI SAM 3 Segmentation Model' },
{ value: 'yoloe', label: 'YOLOE Open-Vocabulary Detection' }, // { value: 'yoloe', label: 'YOLOE Open-Vocabulary Detection' },
{ value: 'yoloe_trained_vl', label: 'YOLOE With Vision Language Model' }, // { value: 'yoloe_trained_vl', label: 'YOLOE With Vision Language Model' },
{ value: 'culvert_detection', label: 'Culvert Detection' }, { value: 'culvert_detection', label: 'Culvert Detection' },
{ value: 'combined', label: 'Combined Detection Model' }, { value: 'combined', label: 'Road Defect Detection' },
] as const; ] as const;
export default function UploadPage() { export default function UploadPage() {
@@ -41,7 +41,7 @@ export default function UploadPage() {
// Form states // Form states
const [file, setFile] = useState<File | null>(null); const [file, setFile] = useState<File | null>(null);
const [jsonFile, setJsonFile] = useState<File | null>(null); const [jsonFile, setJsonFile] = useState<File | null>(null);
const [selectMethod, setSelectMethod] = useState('yolo_vl'); const [selectMethod, setSelectMethod] = useState('combined');
// Upload states // Upload states
const [uploading, setUploading] = useState(false); const [uploading, setUploading] = useState(false);