collabora / WhisperLive

A nearly-live implementation of OpenAI's Whisper.
MIT License
1.82k stars 245 forks source link

Separate package for client? #218

Open powellnorma opened 3 months ago

powellnorma commented 3 months ago

I think most of the dependencies that get installed with pip install whisper-live are only needed for the server, not the client. How can I use the client without installing all the server's packages (torch, triton, ..)?

makaveli10 commented 3 months ago

@powellnorma you are right, the dependencies installed with pip are combined for both server and client. And currently, there is no way of installing whisper-live from pip only for the client.

powellnorma commented 3 months ago

One possible workaround:

pip install --no-deps whisper-live
sudo dnf install -y portaudio-devel
curl https://raw.githubusercontent.com/collabora/WhisperLive/main/requirements/client.txt | pip install -r /dev/stdin