Spaces:
Runtime error
Runtime error
updated stable diffusion repo
Browse files
sd.py
CHANGED
|
@@ -22,7 +22,7 @@ from omegaconf import OmegaConf
|
|
| 22 |
from huggingface_hub import hf_hub_download
|
| 23 |
|
| 24 |
# 1. Download stable diffusion repository and set path
|
| 25 |
-
os.system("git clone https://github.com/
|
| 26 |
os.system("git clone https://github.com/shariqfarooq123/AdaBins.git")
|
| 27 |
os.system("git clone https://github.com/isl-org/MiDaS.git")
|
| 28 |
os.system("git clone https://github.com/MSFTserver/pytorch3d-lite.git")
|
|
@@ -605,7 +605,7 @@ class SamplerCallback(object):
|
|
| 605 |
# Default callback function uses k-diffusion sampler variables
|
| 606 |
self.callback = self.k_callback_
|
| 607 |
|
| 608 |
-
self.verbose_print = print if verbose else lambda *args, **kwargs: None
|
| 609 |
|
| 610 |
|
| 611 |
# The callback function is applied to the image at each step
|
|
|
|
| 22 |
from huggingface_hub import hf_hub_download
|
| 23 |
|
| 24 |
# 1. Download stable diffusion repository and set path
|
| 25 |
+
os.system("git clone https://github.com/kael558/stable-diffusion")
|
| 26 |
os.system("git clone https://github.com/shariqfarooq123/AdaBins.git")
|
| 27 |
os.system("git clone https://github.com/isl-org/MiDaS.git")
|
| 28 |
os.system("git clone https://github.com/MSFTserver/pytorch3d-lite.git")
|
|
|
|
| 605 |
# Default callback function uses k-diffusion sampler variables
|
| 606 |
self.callback = self.k_callback_
|
| 607 |
|
| 608 |
+
#self.verbose_print = print if verbose else lambda *args, **kwargs: None
|
| 609 |
|
| 610 |
|
| 611 |
# The callback function is applied to the image at each step
|