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

Fix Compatibility Issues Between huggingface_hub, diffusers, and transformers Versioning #121

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gradio_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,4 +430,5 @@ class BGSource(Enum):
example_quick_subjects.click(lambda x: x[0], inputs=example_quick_subjects, outputs=prompt, show_progress=False, queue=False)


block.launch(server_name='0.0.0.0')
# block.launch(server_name='0.0.0.0')
block.launch()
3 changes: 2 additions & 1 deletion gradio_demo_bg.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,5 @@ def bg_gallery_selected(gal, evt: gr.SelectData):
bg_gallery.select(bg_gallery_selected, inputs=bg_gallery, outputs=input_bg)


block.launch(server_name='0.0.0.0')
# block.launch(server_name='0.0.0.0')
block.launch()
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
diffusers==0.27.2
transformers==4.36.2
transformers==4.30.2
opencv-python
safetensors
pillow==10.2.0
einops
torch
peft
peft==0.3.0
gradio==3.41.2
protobuf==3.20
huggingface_hub==0.25.2