asahi417 commited on
Commit
92d00b1
·
verified ·
1 Parent(s): b62287c

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from diffusers.utils import load_image
4
  import spaces
5
  from panna.pipeline import PipelineDepth2ImageV2
6
 
7
- model = PipelineDepth2ImageV2(torch_dtype=torch.float32)
8
  title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth) with [DepthAnythingV2](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)\n"
9
  "Depth2Image with depth map predicted by DepthAnything V2. The demo is part of [panna](https://github.com/abacws-abacus/panna) project.")
10
  example_files = []
 
4
  import spaces
5
  from panna.pipeline import PipelineDepth2ImageV2
6
 
7
+ model = PipelineDepth2ImageV2()
8
  title = ("# [Depth2Image](https://huggingface.co/stabilityai/stable-diffusion-2-depth) with [DepthAnythingV2](https://huggingface.co/depth-anything/Depth-Anything-V2-Large-hf)\n"
9
  "Depth2Image with depth map predicted by DepthAnything V2. The demo is part of [panna](https://github.com/abacws-abacus/panna) project.")
10
  example_files = []
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
  git+https://github.com/huggingface/diffusers.git
2
  accelerate
3
  sentencepiece
4
- panna>=0.0.5
 
1
  git+https://github.com/huggingface/diffusers.git
2
  accelerate
3
  sentencepiece
4
+ panna>=0.0.6