Skip to content

Commit

Permalink
Merge pull request #24 from ibelem/safety-checker-sd-1.5
Browse files Browse the repository at this point in the history
Update Safety Checker model for reduceSum with int32 input for Stable Diffusion 1.5
  • Loading branch information
Adele101 authored Aug 5, 2024
2 parents 0126183 + 0a90b2a commit 4445eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/stable-diffusion-1.5/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ async function loadModel(modelName /*:String*/, executionProvider /*:String*/) {
// Outputs:
// float16 out_images
// bool has_nsfw_concepts
modelPath = Utils.modelPath() + "safety-checker.onnx";
modelPath = Utils.modelPath() + "safety_checker_int32_reduceSum.onnx";
freeDimensionOverrides = {
batch: 1,
channels: 3,
Expand Down

0 comments on commit 4445eac

Please sign in to comment.