refactor: change analysis to upload
This commit is contained in:
@@ -10,30 +10,30 @@ const options = [
|
||||
{ value: 'combined', label: 'Road Defect Detection with vl' },
|
||||
] as const;
|
||||
|
||||
interface AnalysisSettingsSectionProps {
|
||||
interface UploadSettingsSectionProps {
|
||||
value: string;
|
||||
onValueChange: (value: string) => void;
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export function AnalysisSettingsSection({
|
||||
export function UploadSettingsSection({
|
||||
value,
|
||||
onValueChange,
|
||||
disabled = false,
|
||||
}: AnalysisSettingsSectionProps) {
|
||||
}: UploadSettingsSectionProps) {
|
||||
return (
|
||||
<section className="space-y-3">
|
||||
<div>
|
||||
<h2 className="text-sm font-semibold text-foreground">
|
||||
Analysis Settings
|
||||
Upload Settings
|
||||
</h2>
|
||||
<p className="text-xs text-muted-foreground">
|
||||
Select the AI model workflow for this job.
|
||||
Select the detection workflow for this upload.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid grid-cols-1 gap-3 md:grid-cols-2">
|
||||
<FormField id="analysis-method" label="Analysis Method">
|
||||
<FormField id="detection-method" label="Detection Method">
|
||||
<SelectPopover
|
||||
options={options}
|
||||
value={value}
|
||||
Reference in New Issue
Block a user