Upload folder using huggingface_hub
Browse files76 unmodified lines777879808081828376 unmodified lines
def pick_weights_for_pipe(pipe) -> str:
# Always use the standard path inside the repo
return _resolve_repo_path("safety_classifier_1280.pth")
return _resolve_repo_path("classifiers/safety_classifier_1280.pth")
class SDGOutput(BaseOutput):
images: Listsafe_diffusion_guidance.py+1-1