tylermullen commited on
Commit
5957079
·
verified ·
1 Parent(s): ab37c64

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -2
index.js CHANGED
@@ -175,8 +175,8 @@ async function pipeStreamAndReportProgress(readableStream, writableStream) {
175
  async function loadLlmSafari() {
176
  alert('Safari browser does not support automatic model downloading. However, you can try downloading the model manually and then selecting it from the file chooser.');
177
  loaderMessage.textContent = "Safari not supported. You can try downloading the model yourself manually, and then selecting it from the file chooser.";
178
- const fileButton = document.getElementById('safari-file-upload-button');
179
- const fileChooser = document.getElementById('safari-file-upload-chooser');
180
  fileChooser.style = "visibility:hidden";
181
  fileButton.style = "";
182
  const fileChosenPromise = new Promise((resolve) => {
 
175
  async function loadLlmSafari() {
176
  alert('Safari browser does not support automatic model downloading. However, you can try downloading the model manually and then selecting it from the file chooser.');
177
  loaderMessage.textContent = "Safari not supported. You can try downloading the model yourself manually, and then selecting it from the file chooser.";
178
+ const fileButton = document.getElementById('safari-upload-file-button');
179
+ const fileChooser = document.getElementById('safari-upload-file-chooser');
180
  fileChooser.style = "visibility:hidden";
181
  fileButton.style = "";
182
  const fileChosenPromise = new Promise((resolve) => {