Spaces:
Running
Fix this error
Fix the runtime error now.
===== Application Startup at 2024-01-02 10:40:34 =====
Traceback (most recent call last):
File "/home/user/app/app.py", line 2, in
import gradio as gr
File "/home/user/.local/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/user/.local/lib/python3.10/site-packages/gradio/components.py", line 32, in
from gradio import media_data, processing_utils, utils
File "/home/user/.local/lib/python3.10/site-packages/gradio/processing_utils.py", line 20, in
from gradio import encryptor, utils
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 404, in
class AsyncRequest:
File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 424, in AsyncRequest
client = httpx.AsyncClient()
File "/home/user/.local/lib/python3.10/site-packages/httpx/_client.py", line 1397, in init
self._transport = self._init_transport(
File "/home/user/.local/lib/python3.10/site-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/home/user/.local/lib/python3.10/site-packages/httpx/_transports/default.py", line 275, in init
self._pool = httpcore.AsyncConnectionPool(
TypeError: AsyncConnectionPool.init() got an unexpected keyword argument 'socket_options'
It's OK.