mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat: Allow user to pick where to saved merged model
This commit is contained in:
parent
690331b8c0
commit
79ca0d0d02
@ -125,9 +125,9 @@ export default function MergeModelsPanel() {
|
|||||||
mergedModelName !== '' ? mergedModelName : models_names.join('-'),
|
mergedModelName !== '' ? mergedModelName : models_names.join('-'),
|
||||||
alpha: modelMergeAlpha,
|
alpha: modelMergeAlpha,
|
||||||
interp: modelMergeInterp,
|
interp: modelMergeInterp,
|
||||||
// model_merge_save_path:
|
|
||||||
// modelMergeSaveLocType === 'root' ? null : modelMergeCustomSaveLoc,
|
|
||||||
force: modelMergeForce,
|
force: modelMergeForce,
|
||||||
|
merge_dest_directory:
|
||||||
|
modelMergeSaveLocType === 'root' ? undefined : modelMergeCustomSaveLoc,
|
||||||
};
|
};
|
||||||
|
|
||||||
mergeModels({
|
mergeModels({
|
||||||
@ -288,7 +288,7 @@ export default function MergeModelsPanel() {
|
|||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
{/* <Flex
|
<Flex
|
||||||
sx={{
|
sx={{
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
padding: 4,
|
padding: 4,
|
||||||
@ -324,7 +324,7 @@ export default function MergeModelsPanel() {
|
|||||||
onChange={(e) => setModelMergeCustomSaveLoc(e.target.value)}
|
onChange={(e) => setModelMergeCustomSaveLoc(e.target.value)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Flex> */}
|
</Flex>
|
||||||
|
|
||||||
<IAISimpleCheckbox
|
<IAISimpleCheckbox
|
||||||
label={t('modelManager.ignoreMismatch')}
|
label={t('modelManager.ignoreMismatch')}
|
||||||
|
Loading…
Reference in New Issue
Block a user