Hello, I encountered the following error while running Python demo/seed/app. py. How should I resolve it? Thank you·
Traceback (most recent call last):
File "/home/cv8888/byf/industrial_vision/SAM/Segment-Everything-Everywhere-All-At-Once/demo/seem/app.py", line 14, in
import gradio as gr
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio._simple_templates
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/_simple_templates/init.py", line 1, in
from .simpledropdown import SimpleDropdown
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/_simple_templates/simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 14, in
from gradio.components.base import Component
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/base.py", line 20, in
from gradio.blocks import Block, BlockContext
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/blocks.py", line 29, in
from gradio import (
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/networking.py", line 13, in
from gradio.routes import App # HACK: to avoid circular import # noqa: F401
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/routes.py", line 137, in
client = httpx.AsyncClient()
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 1429, in init
proxy_map = self._get_proxy_map(proxies or proxy, allow_env_proxies)
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 217, in _get_proxy_map
return {
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 218, in
key: None if url is None else Proxy(url=url)
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/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://localhost:10808/')
Hello, I encountered the following error while running Python demo/seed/app. py. How should I resolve it? Thank you·
Traceback (most recent call last): File "/home/cv8888/byf/industrial_vision/SAM/Segment-Everything-Everywhere-All-At-Once/demo/seem/app.py", line 14, in
import gradio as gr
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio._simple_templates
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/_simple_templates/init.py", line 1, in
from .simpledropdown import SimpleDropdown
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/_simple_templates/simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 14, in
from gradio.components.base import Component
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/components/base.py", line 20, in
from gradio.blocks import Block, BlockContext
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/blocks.py", line 29, in
from gradio import (
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/networking.py", line 13, in
from gradio.routes import App # HACK: to avoid circular import # noqa: F401
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/gradio/routes.py", line 137, in
client = httpx.AsyncClient()
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 1429, in init
proxy_map = self._get_proxy_map(proxies or proxy, allow_env_proxies)
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 217, in _get_proxy_map
return {
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/site-packages/httpx/_client.py", line 218, in
key: None if url is None else Proxy(url=url)
File "/home/cv8888/anaconda3/envs/efficientvit/lib/python3.10/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://localhost:10808/')