asahi417 commited on
Commit
86c48ae
·
verified ·
1 Parent(s): 44da31b

Upload folder using huggingface_hub

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