Skip to content

"Unexpected Token < in JSON at position 0" using local inference on a layer #32

@jlolsen

Description

@jlolsen

I installed Stability AI locally on a Windows 11 machine. Text prompting works great. When I check the box to 'Include Image' and use "Selected Layer (Image-to-Image) I get an error:
"Unexpected Token < in JSON at position 0"

I did get a Hugging Face acccount and created an Access Token. I put that token into the file named 'config.json' located in the root of the 'stable-diffusion-api-server-main' folder. I used the syntax of:
"hf_token": "my-token-string"

I tried refreshing the token, but get the same result. Any idea why?

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