PersonalChatbot / setup.sh
HenryY2023's picture
Create setup.sh
d0382fd verified
raw
history blame contribute delete
413 Bytes
#!/bin/bash
# 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