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

can't run the gradio_app_sdxl_specific_id_low_vram.py #143

Open
youkerWANG opened this issue Jul 10, 2024 · 1 comment
Open

can't run the gradio_app_sdxl_specific_id_low_vram.py #143

youkerWANG opened this issue Jul 10, 2024 · 1 comment

Comments

@youkerWANG
Copy link

i run this in the docker env ,this is the issues feed back
Traceback (most recent call last):
File "/home/StoryDiffusion/gradio_app_sdxl_specific_id_low_vram.py", line 2, in
import gradio as gr
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio/init.py", line 3, in
import gradio._simple_templates
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio/_simple_templates/init.py", line 1, in
from .simpledropdown import SimpleDropdown
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio/_simple_templates/simpledropdown.py", line 6, in
from gradio.components.base import FormComponent
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio/components/annotated_image.py", line 7, in
import gradio_client.utils as client_utils
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio_client/init.py", line 1, in
from gradio_client.client import Client
File "/root/miniconda3/envs/story/lib/python3.10/site-packages/gradio_client/client.py", line 29, in
from huggingface_hub import CommitOperationAdd, SpaceHardware, SpaceStage
ImportError: cannot import name 'CommitOperationAdd' from 'huggingface_hub' (/root/miniconda3/envs/story/lib/python3.10/site-packages/huggingface_hub/init.py)

@ArianaStar
Copy link

Simply run pip uninstall huggingface-hub
Then run pip install huggingface-hub

In short huggingface-hub changes frequently, yet can be updated without breaking the process.

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

2 participants