Upload folder using huggingface_hub
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from panna import Depth2Image
|
|
| 5 |
|
| 6 |
model_image = Depth2Image("stabilityai/stable-diffusion-2-depth")
|
| 7 |
title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth)\n"
|
| 8 |
-
"The demo is part of [panna](https://github.com/
|
| 9 |
example_files = []
|
| 10 |
for n in range(1, 10):
|
| 11 |
load_image(f"https://huggingface.co/spaces/depth-anything/Depth-Anything-V2/resolve/main/assets/examples/demo{n:0>2}.jpg").save(f"demo{n:0>2}.jpg")
|
|
|
|
| 5 |
|
| 6 |
model_image = Depth2Image("stabilityai/stable-diffusion-2-depth")
|
| 7 |
title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth)\n"
|
| 8 |
+
"The demo is part of [panna](https://github.com/asahi417/panna) project.")
|
| 9 |
example_files = []
|
| 10 |
for n in range(1, 10):
|
| 11 |
load_image(f"https://huggingface.co/spaces/depth-anything/Depth-Anything-V2/resolve/main/assets/examples/demo{n:0>2}.jpg").save(f"demo{n:0>2}.jpg")
|
requirements.txt
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
git+https://github.com/huggingface/diffusers.git
|
| 2 |
accelerate
|
| 3 |
sentencepiece
|
|
|
|
| 1 |
+
git+https://github.com/rwightman/pytorch-image-models.git
|
| 2 |
git+https://github.com/huggingface/diffusers.git
|
| 3 |
accelerate
|
| 4 |
sentencepiece
|