Skip to content

The bug of the function "setModel" in distribution package v0.0.7 #8

@LancerComet

Description

@LancerComet

Thank you for your great work!

I've noticed that the version on npm is 0.0.7, but the repository version is 0.0.6. However, the 0.0.6 version on npm didn't come with the code files, so 0.0.7 should be a remedial version made using the code from 0.0.6.

But strangely, there's an issue with a line of code in setModel, which should be:

https://github.com/jaschahuisman/sd-api/blob/main/src/lib/StableDiffusionApi.ts#L520

However this is what it looks like in 0.0.7:

image

The code in 0.0.7 is incorrect, causing the setModel function to always fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions