From 6cb981655e984ecf86dbb0485620ad0501b4cce0 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 14 Mar 2023 10:03:53 +0530 Subject: [PATCH] Fix a bug where the merge plugin wouldn't use the subfolder path of a model --- ui/plugins/ui/merge.plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/plugins/ui/merge.plugin.js b/ui/plugins/ui/merge.plugin.js index 650668a8..6ff97286 100644 --- a/ui/plugins/ui/merge.plugin.js +++ b/ui/plugins/ui/merge.plugin.js @@ -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