Install piper and whisper locally with Python virtual environment

step 1.Install the python3-venv

On Debian/Ubuntu systems, you need to install the python3-venv

package using the following command.

 

    apt-get install python3-venv

 

step 2.Clone the repository 

git clone https://github.com/rhasspy/wyoming-piper.git

step 3.Install Piper 

cd wyoming-piper
script/setup

step 4.Run a server that anyone can connect 

script/run --piper '/usr/share/piper/piper' --voice en_US-lessac-medium --uri 'tcp://0.0.0.0:10200' --data-dir /data --download-dir /data 

 

https://www.matterxiaomi.com/boards/topic/23994/install-piper-and-whisper-locally-with-python-virtual-environmentzh_cn-huayan-medium

 

Comments

Be the first to post a comment

Post a comment