Move the duration selector
This commit is contained in:
1 parent
f940e61dcd
commit
d44dffd7b8
1 file changed
+11
-12
@@ -1524,18 +1524,6 @@ export default function SimpleJob({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{modelArch?.additionalSections?.includes('sample.duration') && (
|
|
||||||
<div>
|
|
||||||
<NumberInput
|
|
||||||
label="Duration (seconds)"
|
|
||||||
value={jobConfig.config.process[0].sample.duration ?? 120}
|
|
||||||
onChange={value => setJobConfig(value, 'config.process[0].sample.duration')}
|
|
||||||
placeholder="eg. 120"
|
|
||||||
min={1}
|
|
||||||
required
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
<div>
|
<div>
|
||||||
<NumberInput
|
<NumberInput
|
||||||
label="Seed"
|
label="Seed"
|
||||||
@@ -1545,6 +1533,17 @@ export default function SimpleJob({
|
|||||||
min={0}
|
min={0}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
|
{modelArch?.additionalSections?.includes('sample.duration') && (
|
||||||
|
<NumberInput
|
||||||
|
label="Duration (seconds)"
|
||||||
|
value={jobConfig.config.process[0].sample.duration ?? 120}
|
||||||
|
onChange={value => setJobConfig(value, 'config.process[0].sample.duration')}
|
||||||
|
placeholder="eg. 120"
|
||||||
|
className="pt-2"
|
||||||
|
min={1}
|
||||||
|
required
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<Checkbox
|
<Checkbox
|
||||||
label="Walk Seed"
|
label="Walk Seed"
|
||||||
className="pt-4 pl-2"
|
className="pt-4 pl-2"
|
||||||
|
|||||||
Reference in new issue
Block a user