fix: remove duplicate selected models
This commit is contained in:
@@ -271,6 +271,12 @@ export const useCheckCompatibility = () => {
|
||||
|
||||
let compatibilityMessage = compatibility_messages.join(' ');
|
||||
|
||||
compatibilityMessage = compatibilityMessage.startsWith(
|
||||
`The model file path you specified does not exist on the GPUStack server. It's recommended`
|
||||
)
|
||||
? intl.formatMessage({ id: 'models.form.modelfile.notfound' })
|
||||
: compatibilityMessage;
|
||||
|
||||
let msgData = {
|
||||
title: scheduling_messages?.length > 0 ? compatibilityMessage : '',
|
||||
message:
|
||||
|
||||
Reference in New Issue
Block a user