Traceback (most recent call last):
File "visual_chatgpt.py", line 3, in
import gradio as gr
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/components.py", line 55, in
from gradio import processing_utils, utils
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/utils.py", line 494, in
class AsyncRequest:
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/utils.py", line 513, in AsyncRequest
client = httpx.AsyncClient()
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/httpx/_client.py", line 1395, in init
proxy_map = self._get_proxy_map(proxies, allow_env_proxies)
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/httpx/_client.py", line 216, in _get_proxy_map
return {
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/httpx/_client.py", line 217, in
key: None if url is None else Proxy(url=url)
File "/home/zht411/anaconda3/envs/visgpt/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:5000/')
Traceback (most recent call last): File "visual_chatgpt.py", line 3, in
import gradio as gr
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/components.py", line 55, in
from gradio import processing_utils, utils
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/utils.py", line 494, in
class AsyncRequest:
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/gradio/utils.py", line 513, in AsyncRequest
client = httpx.AsyncClient()
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/httpx/_client.py", line 1395, in init
proxy_map = self._get_proxy_map(proxies, allow_env_proxies)
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/httpx/_client.py", line 216, in _get_proxy_map
return {
File "/home/zht411/anaconda3/envs/visgpt/lib/python3.8/site-packages/httpx/_client.py", line 217, in
key: None if url is None else Proxy(url=url)
File "/home/zht411/anaconda3/envs/visgpt/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:5000/')