Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
brunofranciscu committed Mar 18, 2024
1 parent f6e22d1 commit 670c38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
}else if(texto.length > 0 && url.includes('text-to-speech')){
audio.src = URL.createObjectURL(blob);
anchor.href = URL.createObjectURL(blob);
document.querySelector('progress').value
document.querySelector('progress').value = 0
setTimeout(()=>{
document.querySelector('time').innerHTML = (document.querySelector('audio').duration / 100).toFixed(2).replace('.',':')
},200)
Expand Down

0 comments on commit 670c38f

Please sign in to comment.