Spaces:
Running on Zero
Running on Zero
Commit ·
434f7c5
1
Parent(s): 86e76ed
[Admin maintenance] Support new ZeroGPU hardware (#19)
Browse files- [Admin maintenance] Support new ZeroGPU hardware (5759144605a5f4eb391082c73946f20579409265)
- Ship example images locally to fix lazy-cache sync-in-loop on remote URL examples (8791ab50b4065ba4f600217f06a20a2ae067e01b)
- .gitattributes +2 -0
- app.py +1 -1
- examples/composition.jpg +3 -0
- examples/identity.jpg +0 -0
- examples/style.jpg +3 -0
- requirements.txt +1 -2
.gitattributes
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
examples/composition.jpg filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
examples/style.jpg filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
|
@@ -244,7 +244,7 @@ with gr.Blocks() as demo:
|
|
| 244 |
)
|
| 245 |
# clear.click(lambda: None, None, chatbot, queue=False)
|
| 246 |
gr.Examples(
|
| 247 |
-
examples=[["A person", "
|
| 248 |
inputs=[prompt, composition_image, style_image, identity_image],
|
| 249 |
outputs=[out],
|
| 250 |
fn=generate,
|
|
|
|
| 244 |
)
|
| 245 |
# clear.click(lambda: None, None, chatbot, queue=False)
|
| 246 |
gr.Examples(
|
| 247 |
+
examples=[["A person", "examples/composition.jpg", "examples/style.jpg", "examples/identity.jpg"]],
|
| 248 |
inputs=[prompt, composition_image, style_image, identity_image],
|
| 249 |
outputs=[out],
|
| 250 |
fn=generate,
|
examples/composition.jpg
ADDED
|
Git LFS Details
|
examples/identity.jpg
ADDED
|
examples/style.jpg
ADDED
|
Git LFS Details
|
requirements.txt
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
accelerate
|
| 2 |
diffusers==0.29.0
|
| 3 |
controlnet_aux==0.0.8
|
| 4 |
-
huggingface_hub
|
| 5 |
insightface==0.7.3
|
| 6 |
albumentations==1.4.3
|
| 7 |
numpy==1.26.2
|
|
@@ -15,4 +15,3 @@ onnxruntime-gpu
|
|
| 15 |
hf_transfer
|
| 16 |
gradio
|
| 17 |
spaces
|
| 18 |
-
pydantic<2.0.0
|
|
|
|
| 1 |
accelerate
|
| 2 |
diffusers==0.29.0
|
| 3 |
controlnet_aux==0.0.8
|
| 4 |
+
huggingface_hub
|
| 5 |
insightface==0.7.3
|
| 6 |
albumentations==1.4.3
|
| 7 |
numpy==1.26.2
|
|
|
|
| 15 |
hf_transfer
|
| 16 |
gradio
|
| 17 |
spaces
|
|
|