Skip to content

Commit

Permalink
Merge pull request #228 from hyperaudio/227-bugfix-wav-export-issue
Browse files Browse the repository at this point in the history
bugfix export wav
  • Loading branch information
maboa authored Jul 19, 2024
2 parents 42f70d3 + 215cf8e commit a9b42de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<option value="Xenova/whisper-base">Whisper (Base)</option>
<option value="Xenova/whisper-small.en">Whisper (Small) English</option>
<option value="Xenova/whisper-small">Whisper (Small)</option>
<!--<option value="distil-whisper/distil-small.en">Whisper Distil (Small) English</option>-->
<option value="distil-whisper/distil-small.en">Whisper Distil (Small) English</option>
</select>
</div>
<div class="form-text" style="font-size: 90%;">
Expand Down Expand Up @@ -1439,7 +1439,7 @@ <h3 class="font-bold text-lg">Load from Local Storage</h3>
const element = document.querySelector(".file-item.active");

let fileName;
if (typeof element === "undefined"){
if (element == null || typeof element === "undefined"){
fileName = "default";
} else {
fileName = element.textContent;
Expand Down

0 comments on commit a9b42de

Please sign in to comment.