Fixed issue with trigger word saving in ui
This commit is contained in:
1 parent
440ba5fb3d
commit
259ded9602
1 file changed
+1
-3
@@ -116,8 +116,6 @@ export default function TrainingForm() {
|
|||||||
saveJob();
|
saveJob();
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('jobConfig.config.process[0].network.linear', jobConfig?.config?.process[0].network?.linear);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<TopBar>
|
<TopBar>
|
||||||
@@ -165,7 +163,7 @@ export default function TrainingForm() {
|
|||||||
if (value?.trim() === '') {
|
if (value?.trim() === '') {
|
||||||
value = null;
|
value = null;
|
||||||
}
|
}
|
||||||
setJobConfig(value, 'jobConfig.config.process[0].trigger_word');
|
setJobConfig(value, 'config.process[0].trigger_word');
|
||||||
}}
|
}}
|
||||||
placeholder=""
|
placeholder=""
|
||||||
required
|
required
|
||||||
|
|||||||
Reference in new issue
Block a user