Upload folder using huggingface_hub
Browse files
safe_diffusion_guidance.py
CHANGED
|
@@ -11,9 +11,9 @@ UTILS_DIR = os.path.join(FILE_DIR, "utils")
|
|
| 11 |
if UTILS_DIR not in sys.path:
|
| 12 |
sys.path.insert(0, UTILS_DIR)
|
| 13 |
|
| 14 |
-
from adaptive_classifiers import load_classifier_1280, pick_weights_for_pipe
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
class SDGOutput(BaseOutput):
|
| 19 |
images: List
|
|
|
|
| 11 |
if UTILS_DIR not in sys.path:
|
| 12 |
sys.path.insert(0, UTILS_DIR)
|
| 13 |
|
| 14 |
+
# from adaptive_classifiers import load_classifier_1280, pick_weights_for_pipe
|
| 15 |
|
| 16 |
+
from utils.adaptive_classifiers import load_classifier_1280, pick_weights_for_pipe
|
| 17 |
|
| 18 |
class SDGOutput(BaseOutput):
|
| 19 |
images: List
|