asahi417 commited on
Commit
4f9db56
·
verified ·
1 Parent(s): 9b5632f

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -0
app.py CHANGED
@@ -4,7 +4,7 @@ from diffusers.utils import load_image
4
  import spaces
5
  from panna import ControlNetSD3
6
 
7
- model = ControlNetSD3(condition_type="canny", torch_dtype=torch.float32)
8
  title = ("# [ControlNet SD3](https://huggingface.co/docs/diffusers/en/api/pipelines/controlnet_sd3) (Canny Edge Conditioning)\n"
9
  "The demo is part of [panna](https://github.com/abacws-abacus/panna) project.")
10
  example_files = []
 
4
  import spaces
5
  from panna import ControlNetSD3
6
 
7
+ model = ControlNetSD3(condition_type="canny")
8
  title = ("# [ControlNet SD3](https://huggingface.co/docs/diffusers/en/api/pipelines/controlnet_sd3) (Canny Edge Conditioning)\n"
9
  "The demo is part of [panna](https://github.com/abacws-abacus/panna) project.")
10
  example_files = []
requirements.txt CHANGED
@@ -2,3 +2,4 @@ git+https://github.com/huggingface/diffusers.git
2
  accelerate
3
  sentencepiece
4
  panna>=0.0.9
 
 
2
  accelerate
3
  sentencepiece
4
  panna>=0.0.9
5
+ torch==2.3