Skip to content

Commit

Permalink
model switch hide checkpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyplay authored and JegernOUTT committed Aug 31, 2023
1 parent fbe3c67 commit 8e00039
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion self_hosting_machinery/webgui/static/tab-finetune.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ function loras_switch_clicked() {
}
}

// TODO get switch param and send with downloaded_data.active
function finetune_switch_activate(lora_mode, run_id, checkpoint) {
let send_this = {
"model": document.querySelector('#finetune-model').value,
Expand Down Expand Up @@ -493,6 +492,9 @@ function change_finetune_model() {
return response.json();
}
finetune_data();
render_checkpoints();
document.querySelector('.fine-gfx').src = `/tab-finetune-progress-svg/none`;
document.querySelector('.tab-upload-finetune-logs').textContent = '';
})
.catch(error_data => {
console.log('Error:', error_data);
Expand Down

0 comments on commit 8e00039

Please sign in to comment.