Spaces:
Sleeping
Sleeping
Fix startup failures: pin Python 3.11, unpin pydantic, vendor example media
Browse files- .gitattributes +3 -0
- README.md +1 -0
- app.py +5 -5
- examples/astronaut-2e89be.jpg +3 -0
- examples/controlnet_depth_result-594bc1.png +3 -0
- examples/flux_ip_adapter_input-8dbae5.jpg +3 -0
- examples/ip_mask_girl2-b393af.png +3 -0
- examples/penguin-9bdee7.png +3 -0
- requirements.txt +1 -2
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
*.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -5,6 +5,7 @@ colorFrom: purple
|
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.25.2
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 5 |
colorTo: red
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.25.2
|
| 8 |
+
python_version: "3.11"
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: apache-2.0
|
app.py
CHANGED
|
@@ -283,23 +283,23 @@ with gr.Blocks(theme=gr.themes.Soft(),
|
|
| 283 |
gr.Examples(examples=[
|
| 284 |
[
|
| 285 |
"Convert the image into Claymation style.",
|
| 286 |
-
"
|
| 287 |
],
|
| 288 |
[
|
| 289 |
"Convert the image into a Ghibli style.",
|
| 290 |
-
"
|
| 291 |
],
|
| 292 |
[
|
| 293 |
"Add sunglasses to the face of the girl.",
|
| 294 |
-
"
|
| 295 |
],
|
| 296 |
[
|
| 297 |
'Convert the image into an ink sketch style.',
|
| 298 |
-
"
|
| 299 |
],
|
| 300 |
[
|
| 301 |
'Add a butterfly to the scene.',
|
| 302 |
-
"
|
| 303 |
]
|
| 304 |
],
|
| 305 |
inputs=[prompt, image_file],
|
|
|
|
| 283 |
gr.Examples(examples=[
|
| 284 |
[
|
| 285 |
"Convert the image into Claymation style.",
|
| 286 |
+
"examples/penguin-9bdee7.png"
|
| 287 |
],
|
| 288 |
[
|
| 289 |
"Convert the image into a Ghibli style.",
|
| 290 |
+
"examples/flux_ip_adapter_input-8dbae5.jpg"
|
| 291 |
],
|
| 292 |
[
|
| 293 |
"Add sunglasses to the face of the girl.",
|
| 294 |
+
"examples/ip_mask_girl2-b393af.png"
|
| 295 |
],
|
| 296 |
[
|
| 297 |
'Convert the image into an ink sketch style.',
|
| 298 |
+
"examples/astronaut-2e89be.jpg"
|
| 299 |
],
|
| 300 |
[
|
| 301 |
'Add a butterfly to the scene.',
|
| 302 |
+
"examples/controlnet_depth_result-594bc1.png"
|
| 303 |
]
|
| 304 |
],
|
| 305 |
inputs=[prompt, image_file],
|
examples/astronaut-2e89be.jpg
ADDED
|
Git LFS Details
|
examples/controlnet_depth_result-594bc1.png
ADDED
|
Git LFS Details
|
examples/flux_ip_adapter_input-8dbae5.jpg
ADDED
|
Git LFS Details
|
examples/ip_mask_girl2-b393af.png
ADDED
|
Git LFS Details
|
examples/penguin-9bdee7.png
ADDED
|
Git LFS Details
|
requirements.txt
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
gradio
|
| 2 |
aiohttp
|
| 3 |
python-dotenv
|
| 4 |
-
pydantic==2.8.2
|
| 5 |
torch
|
| 6 |
-
transformers=
|
| 7 |
requests
|
|
|
|
| 1 |
gradio
|
| 2 |
aiohttp
|
| 3 |
python-dotenv
|
|
|
|
| 4 |
torch
|
| 5 |
+
transformers>=4.40
|
| 6 |
requests
|