Fix a bug where the merge plugin wouldn't use the subfolder path of a model

This commit is contained in:
cmdr2 2023-03-14 10:03:53 +05:30
parent a0dc82e1f9
commit 6cb981655e

View File

@ -367,8 +367,8 @@
document.querySelector('#merge-button').addEventListener('click', async function(e) {
// Build request template
let model0 = document.querySelector('#mergeModelA').value
let model1 = document.querySelector('#mergeModelB').value
let model0 = mergeModelAField.value
let model1 = mergeModelBField.value
let request = { model0: model0, model1: model1 }
request['use_fp16'] = document.querySelector('#merge-fp').value == 'fp16'
let iterations = document.querySelector('#merge-count').value>>0