File size: 413 Bytes
d0382fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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