报错:Could not create share link, Please check your internet connection or our status page: https://status.gradio.app
访问local url:
代码在本地jupyter运行可以打开local url,但是在jupyterlab 不行
搜遍全网都没有具体方案
换个思路,解决Could not create share link问题,打开share link访问
Step 1
命令行运行:
chmod +x /opt/conda/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
“/opt/conda/lib/python3.10/site-packages/gradio”为gradio库所在地址,请自行百度查看并替换
Step 2
结果又报错(没有遇到请PASS):
TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'
解决方法:
pip install httpx==0.24.1
至此完美解决啦~