Kdenlive speech to text

How should i install install the openai-whisper and the torch python module to make it work with KDEnlive, i did pip install torch and pip install -U openai-whisper like i used to do on a non-Atomic distro and it has been installed without errors but KDEnlive doesn’t see it.