Update index.html
Browse files- index.html +3 -1
index.html
CHANGED
|
@@ -48,9 +48,11 @@
|
|
| 48 |
console.log("session exist skip load model")
|
| 49 |
}
|
| 50 |
const text = document.getElementById('textInput').value
|
|
|
|
| 51 |
const arpa_text = await textToArpa(cmudict,text)
|
|
|
|
| 52 |
const ipa_text = arpa_to_ipa(arpa_text).replace(/\s/g, "");
|
| 53 |
-
console.log(ipa_text)
|
| 54 |
|
| 55 |
const spks = 0
|
| 56 |
const speed = document.getElementById('speed').value
|
|
|
|
| 48 |
console.log("session exist skip load model")
|
| 49 |
}
|
| 50 |
const text = document.getElementById('textInput').value
|
| 51 |
+
console.log("### textToArpa call")
|
| 52 |
const arpa_text = await textToArpa(cmudict,text)
|
| 53 |
+
console.log("### arpa returned")
|
| 54 |
const ipa_text = arpa_to_ipa(arpa_text).replace(/\s/g, "");
|
| 55 |
+
//console.log(ipa_text)
|
| 56 |
|
| 57 |
const spks = 0
|
| 58 |
const speed = document.getElementById('speed').value
|