Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya52 committed Mar 21, 2024
1 parent cb1d4ce commit cea9fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refact_webgui/webgui/static/tab-model-hosting.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ function finetune_info_factory(index, models_info, finetune_info, finetune_runs,

const selected_runs = models_info[index].finetune_info.map(run => run.run_id);
const not_selected_runs = finetune_runs.filter(run => !selected_runs.includes(run.run_id));
if (not_selected_runs.length > 0 && (selected_runs.length === 0 || multiple_loras || true)) {
if (not_selected_runs.length > 0 && (selected_runs.length === 0 || multiple_loras)) {
let add_finetune_btn = document.createElement("button");
add_finetune_btn.classList = "btn btn-sm btn-outline-primary mt-1 add-finetune-btn";
add_finetune_btn.dataset.model = index;
Expand Down

0 comments on commit cea9fb9

Please sign in to comment.