Detect Silence using whsiper

I am not sure on Python but using Javascript
it can be served using this npm package:
@ricky0123/vad-web

This will make the life much easier
see the example directory on their Github Repo

Cheers