av commited on
Commit
1df5310
·
1 Parent(s): 1c4e2cf

fix: initialize activeModel to null so first switchModel actually loads

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -427,7 +427,7 @@
427
  const toggleDistilbert = document.getElementById('toggle-distilbert');
428
  const toggleHrm = document.getElementById('toggle-hrm');
429
 
430
- let activeModel = 'distilbert';
431
  let distilbertClassifier = null;
432
  let hrmSession = null;
433
  let isLoading = false;
 
427
  const toggleDistilbert = document.getElementById('toggle-distilbert');
428
  const toggleHrm = document.getElementById('toggle-hrm');
429
 
430
+ let activeModel = null;
431
  let distilbertClassifier = null;
432
  let hrmSession = null;
433
  let isLoading = false;