Spaces:
Runtime error
Runtime error
| # 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 |