Akjava commited on
Commit
d06dbc0
1 Parent(s): 0897a7c

Update index.html

Browse files
Files changed (1) hide show
  1. 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")