Spaces:
Runtime error
Runtime error
Download setup.sh from HenryY2023/PersonalChatbot: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/spaces/HenryY2023/PersonalChatbot/resolve/main/setup.sh
- Command line
-
hf download hf://spaces/HenryY2023/PersonalChatbot/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/HenryY2023/PersonalChatbot/resolve/main/setup.sh
413 Bytes
| # First, uninstall any existing websockets and gradio packages | |
| pip uninstall -y websockets gradio gradio-client | |
| # Upgrade pip | |
| pip install --upgrade pip | |
| # Install compatible websockets version first | |
| pip install websockets==10.4 | |
| # Install gradio version known to work with this websockets version | |
| pip install gradio==3.50.0 | |
| # Now install the rest of the requirements | |
| pip install -r requirements.txt |