Skip to content

Commit a9b42de

Browse files
authored
Merge pull request #228 from hyperaudio/227-bugfix-wav-export-issue
bugfix export wav
2 parents 42f70d3 + 215cf8e commit a9b42de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<option value="Xenova/whisper-base">Whisper (Base)</option>
138138
<option value="Xenova/whisper-small.en">Whisper (Small) English</option>
139139
<option value="Xenova/whisper-small">Whisper (Small)</option>
140-
<!--<option value="distil-whisper/distil-small.en">Whisper Distil (Small) English</option>-->
140+
<option value="distil-whisper/distil-small.en">Whisper Distil (Small) English</option>
141141
</select>
142142
</div>
143143
<div class="form-text" style="font-size: 90%;">
@@ -1439,7 +1439,7 @@ <h3 class="font-bold text-lg">Load from Local Storage</h3>
14391439
const element = document.querySelector(".file-item.active");
14401440

14411441
let fileName;
1442-
if (typeof element === "undefined"){
1442+
if (element == null || typeof element === "undefined"){
14431443
fileName = "default";
14441444
} else {
14451445
fileName = element.textContent;

0 commit comments

Comments
 (0)