mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-25 08:28:54 +01:00
Fix a bug where the merge plugin wouldn't use the subfolder path of a model
This commit is contained in:
parent
a0dc82e1f9
commit
6cb981655e
@ -367,8 +367,8 @@
|
|||||||
|
|
||||||
document.querySelector('#merge-button').addEventListener('click', async function(e) {
|
document.querySelector('#merge-button').addEventListener('click', async function(e) {
|
||||||
// Build request template
|
// Build request template
|
||||||
let model0 = document.querySelector('#mergeModelA').value
|
let model0 = mergeModelAField.value
|
||||||
let model1 = document.querySelector('#mergeModelB').value
|
let model1 = mergeModelBField.value
|
||||||
let request = { model0: model0, model1: model1 }
|
let request = { model0: model0, model1: model1 }
|
||||||
request['use_fp16'] = document.querySelector('#merge-fp').value == 'fp16'
|
request['use_fp16'] = document.querySelector('#merge-fp').value == 'fp16'
|
||||||
let iterations = document.querySelector('#merge-count').value>>0
|
let iterations = document.querySelector('#merge-count').value>>0
|
||||||
|
Loading…
Reference in New Issue
Block a user