Open speaknowpotato opened 1 year ago
hi @huchenlei ,
when i add lora to my prompt,
it will not show up in the API payload,
But if i click Copy button, and copy the json payload to clipboard, it does have Lora inside the prompt. something like this,
Copy
"prompt": "blue hair <lora:ghibli_style_offset:1> red eye",
Is this expected or a bug? thanks!
I think it is a problem with jsonTree library. It does not do the escape of special chars. I probably need to handle chars like "<" and ">" manually.
hi @huchenlei ,
when i add lora to my prompt,![image](https://github.com/huchenlei/sd-webui-api-payload-display/assets/59820713/1e85fa88-4b13-44ef-8305-b1df3edee06b)
it will not show up in the API payload,![image](https://github.com/huchenlei/sd-webui-api-payload-display/assets/59820713/ee849a93-5a46-423f-8cc6-9652fc21a2c2)
But if i click
Copy
button, and copy the json payload to clipboard, it does have Lora inside the prompt. something like this,Is this expected or a bug? thanks!