Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run_gradio_demo.py FAIL #201

Open
VoxHwa opened this issue May 11, 2023 · 0 comments
Open

run_gradio_demo.py FAIL #201

VoxHwa opened this issue May 11, 2023 · 0 comments

Comments

@VoxHwa
Copy link

VoxHwa commented May 11, 2023

(jarvis) vox@vox:~/桌面/JARVIS/server$ python run_gradio_demo.py --config configs/config.gradio.yaml
Traceback (most recent call last):
File "run_gradio_demo.py", line 2, in
import gradio as gr
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/gradio/components.py", line 51, in
from gradio import media_data, processing_utils, utils
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/gradio/utils.py", line 496, in
class AsyncRequest:
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/gradio/utils.py", line 515, in AsyncRequest
client = httpx.AsyncClient()
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/httpx/_client.py", line 1395, in init
proxy_map = self._get_proxy_map(proxies, allow_env_proxies)
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/httpx/_client.py", line 216, in _get_proxy_map
return {
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/httpx/_client.py", line 217, in
key: None if url is None else Proxy(url=url)
File "/home/vox/anaconda3/envs/jarvis/lib/python3.8/site-packages/httpx/_config.py", line 336, in init
raise ValueError(f"Unknown scheme for proxy URL {url!r}")
ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:10010/')

quick start works, but not for gradio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant