0

How to bind Html button with python

Hi, i have coded a speech to text site just to learn using Html,css and javascript. and to further challenge myself i thought about using python instead of js. i tried pyscript didn't work and now i tried with flask but my problem is when i click in the html site button and speak, the speech to text is showed inside the terminal not the html. and i don't know how to put the text in html webpage. Any help would be appreciated here is my code https://github.com/salehghulamqasim/SST-using-FLASK.git

22nd Jul 2022, 10:47 PM
SaLeH
SaLeH - avatar
1 Odpowiedź
0
UPDATE: i made it print on the screen however i have problem that it stops printing after few words or sentences. how to make it go on until i stop speaking for few seconds and on the same route"/" ?
23rd Jul 2022, 12:32 AM
SaLeH
SaLeH - avatar