File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 137
137
< option value ="Xenova/whisper-base "> Whisper (Base)</ option >
138
138
< option value ="Xenova/whisper-small.en "> Whisper (Small) English</ option >
139
139
< 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 >
141
141
</ select >
142
142
</ div >
143
143
< div class ="form-text " style ="font-size: 90%; ">
@@ -1439,7 +1439,7 @@ <h3 class="font-bold text-lg">Load from Local Storage</h3>
1439
1439
const element = document . querySelector ( ".file-item.active" ) ;
1440
1440
1441
1441
let fileName ;
1442
- if ( typeof element === "undefined" ) {
1442
+ if ( element == null || typeof element === "undefined" ) {
1443
1443
fileName = "default" ;
1444
1444
} else {
1445
1445
fileName = element . textContent ;
You can’t perform that action at this time.
0 commit comments