Skip to content

Commit

Permalink
BAI-650
Browse files Browse the repository at this point in the history
Slight edit to error message
  • Loading branch information
P20179 committed Jul 21, 2023
1 parent a6d1d47 commit 8587d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Form/RenderFileTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function RenderFileTab({ step, splitSchema, setSplitSchema }: Ren

useEffect(() => {
if (isUiConfigError) setError(isUiConfigError.message)
else if (!uiConfig) setError('Failed to load ui config')
else if (!uiConfig) setError('Failed to load UI config')
else if (totalFileSize > convertGigabytesToBytes(uiConfig.maxModelSizeGB))
setError('Model size exceeds maximum upload size of ' + uiConfig.maxModelSizeGB + 'GB')
else setError('')
Expand Down

0 comments on commit 8587d35

Please sign in to comment.