We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1c2bc0 + e357a32 commit 8b7343cCopy full SHA for 8b7343c
1 file changed
src/renderer/components/Experiment/Train/TrainLoRA.tsx
@@ -268,10 +268,10 @@ export default function TrainLoRA({}) {
268
key={plugin.uniqueId}
269
disabled={
270
plugin.train_type !== 'embedding'
271
- ? !plugin.model_architectures.includes(
+ ? !plugin.model_architectures?.includes(
272
modelArchitecture,
273
) &&
274
- !plugin.model_architectures.includes(
+ !plugin.model_architectures?.includes(
275
embeddingModelArchitecture,
276
)
277
: false
0 commit comments