Add start-jupyter.bat for windows and fixup dependencies.

Thanks to
[jay-c88](https://github.com/jasonppy/VoiceCraft/pull/25#issuecomment-2027980511)
for the windows batch file!

This does the thing to actually install the jupyter notebook kernel and
instructs the user to refresh their browser to pickup the changes in the
notebook.
This commit is contained in:
John W. Leimgruber III
2024-03-30 10:48:10 -04:00
parent bd8c747c91
commit c54b343bfb
3 changed files with 40 additions and 8 deletions

View File

@@ -11,18 +11,19 @@ To clone or edit an unseen voice, VoiceCraft needs only a few seconds of referen
:star: 03/28/2024: Model weights are up on HuggingFace🤗 [here](https://huggingface.co/pyp1/VoiceCraft/tree/main)!
## QuickStart
For Linux only, or likely Windows Subsystem for Linux (WSL) ubuntu.
Tested on Linux and Windows and should work with any host with docker installed.
```bash
# 1. clone the repo on in a directory on a drive with plenty of free space
git clone git@github.com:jasonppy/VoiceCraft.git
cd VoiceCraft
# 2. assumes you have docker installed with nvidia container container-toolkit
# 2. assumes you have docker installed with nvidia container container-toolkit (windows has this built into the driver)
# https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.13.5/install-guide.html
# sudo apt-get install -y nvidia-container-toolkit-base || yay -Syu nvidia-container-toolkit || echo etc...
# 3. Try to start an existing container otherwise create a new one passing in all GPUs
./start-jupyter.sh
./start-jupyter.sh # linux
start-jupyter.bat # windows
# 4. now open a webpage on the host box to the URL shown at the bottom of:
docker logs jupyter