namelessai commited on
Commit
6cc0f49
·
verified ·
1 Parent(s): f2a4316

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +5 -1
index.html CHANGED
@@ -476,6 +476,8 @@
476
  });
477
 
478
  addModelToList(modelId, file.name);
 
 
479
  loadingOverlay.classList.add('hidden');
480
  },
481
  function (xhr) {
@@ -534,6 +536,8 @@
534
  });
535
 
536
  addModelToList(modelId, file.name);
 
 
537
  loadingOverlay.classList.add('hidden');
538
  },
539
  function (xhr) {
@@ -947,4 +951,4 @@
947
  });
948
  </script>
949
  </body>
950
- </html>
 
476
  });
477
 
478
  addModelToList(modelId, file.name);
479
+ // Automatically select the loaded model so the toolbar shows up
480
+ selectModel(modelId);
481
  loadingOverlay.classList.add('hidden');
482
  },
483
  function (xhr) {
 
536
  });
537
 
538
  addModelToList(modelId, file.name);
539
+ // Automatically select the loaded model so the toolbar shows up
540
+ selectModel(modelId);
541
  loadingOverlay.classList.add('hidden');
542
  },
543
  function (xhr) {
 
951
  });
952
  </script>
953
  </body>
954
+ </html>