Upload folder using huggingface_hub
Browse files- app.py +1 -1
- requirements.txt +1 -0
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from panna.pipeline import PipelineDepth2ImageV2
|
|
| 5 |
|
| 6 |
model = PipelineDepth2ImageV2()
|
| 7 |
title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth) with [DepthAnythingV2](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)\n"
|
| 8 |
-
"Depth2Image with depth map predicted by DepthAnything V2. 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 = PipelineDepth2ImageV2()
|
| 7 |
title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth) with [DepthAnythingV2](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)\n"
|
| 8 |
+
"Depth2Image with depth map predicted by DepthAnything V2. 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
|