Skip to content

Commit

Permalink
fixed default gpu count in verify
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotmessi committed Jun 9, 2023
1 parent 40628b0 commit b61d4a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ymir/web/src/pages/model/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function Verify() {
onChange={imageChange}
/>
</Form.Item>
<GPUCount form={form} min={isMultiModal(project?.type) ? 1 : 0} />
{project ? <GPUCount form={form} min={isMultiModal(project.type) ? 1 : 0} /> : null}
{isMultiModal(project?.type) ? <ObjectTypeSelector /> : null}
{seniorConfig.length ? (
<Card
Expand Down

0 comments on commit b61d4a3

Please sign in to comment.