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

Cannot use Huggingface demo #31

Open
fgvfgfg564 opened this issue Feb 26, 2024 · 0 comments
Open

Cannot use Huggingface demo #31

fgvfgfg564 opened this issue Feb 26, 2024 · 0 comments

Comments

@fgvfgfg564
Copy link

fgvfgfg564 commented Feb 26, 2024

Please check the Huggingface demo. The page raises a Runtime Error. Something seems to be wrong.

The following is the error message:

Runtime error
/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/torchvision/transforms/_functional_video.py:5: UserWarning: The _functional_video module is deprecated. Please use the functional module instead.
warnings.warn(
/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/torchvision/transforms/_transforms_video.py:25: UserWarning: The _transforms_video module is deprecated. Please use the transforms module instead.
warnings.warn(
Traceback (most recent call last):
File "app.py", line 17, in
import gradio as gr
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/components.py", line 32, in
from gradio import media_data, processing_utils, utils
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/processing_utils.py", line 20, in
from gradio import encryptor, utils
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/utils.py", line 404, in
class AsyncRequest:
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/gradio/utils.py", line 424, in AsyncRequest
client = httpx.AsyncClient()
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/httpx/_client.py", line 1397, in init
self._transport = self._init_transport(
File "/home/user/.pyenv/versions/3.8.9/lib/python3.8/site-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/home/user/.pyenv/versions/3.8.9/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'
Container logs:

Failed to retrieve error logs: Failed to load logs: Not Found. Logs are persisted for 30 days after the Space stops running.

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