具体解决过程:
Install Gradio from this PR
pip install https://gradio-pypi-previews.s3.amazonaws.com/c5d763c3305fc143ace9ca6f8bdc32f12cef74d1/gradio-4.42.0-py3-none-any.whl
Install Gradio Python Client from this PR
pip install "gradio-client @ git+https://github.com/gradio-app/gradio@c5d763c3305fc143ace9ca6f8bdc32f12cef74d1#subdirectory=client/python"
Install Gradio JS Client from this PR
npm install https://gradio-npm-previews.s3.amazonaws.com/c5d763c3305fc143ace9ca6f8bdc32f12cef74d1/gradio-client-1.5.1.tgz