Runtime error
Unable to run the application. Got the following error
===== Application Startup at 2024-01-02 11:46:14 =====
Traceback (most recent call last):
File "app.py", line 3, in
import gradio
File "/home/user/.local/lib/python3.8/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 39, in
from gradio.blocks import Block
File "/home/user/.local/lib/python3.8/site-packages/gradio/blocks.py", line 20, in
from gradio import (
File "/home/user/.local/lib/python3.8/site-packages/gradio/event_queue.py", line 11, in
from gradio.utils import Request, run_coro_in_background
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 395, in
class Request:
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 415, in Request
client = httpx.AsyncClient()
File "/home/user/.local/lib/python3.8/site-packages/httpx/_client.py", line 1397, in init
self._transport = self._init_transport(
File "/home/user/.local/lib/python3.8/site-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/home/user/.local/lib/python3.8/site-packages/httpx/_transports/default.py", line 275, in init
self._pool = httpcore.AsyncConnectionPool(
TypeError: init() got an unexpected keyword argument 'socket_options'
Thanks for reporting. Fixed by pinning httpx to a specific version