Update index.html
Browse files- index.html +5 -0
index.html
CHANGED
@@ -31,6 +31,11 @@
|
|
31 |
let total_infer_time=0
|
32 |
let count_infer=0
|
33 |
async function main(model_name) {
|
|
|
|
|
|
|
|
|
|
|
34 |
console.log(model_name)
|
35 |
if (speaking){
|
36 |
console.log("speaking return")
|
|
|
31 |
let total_infer_time=0
|
32 |
let count_infer=0
|
33 |
async function main(model_name) {
|
34 |
+
if (typeof model_name !== 'string') {//via button click
|
35 |
+
model_name ="ljspeech_sim_q8"
|
36 |
+
}
|
37 |
+
|
38 |
+
|
39 |
console.log(model_name)
|
40 |
if (speaking){
|
41 |
console.log("speaking return")
|