Closed guumaster closed 2 years ago
I found the issue in the notebook (or the plugin), the key names doesn't match. To fix this, change this code:
with autocast("cuda"):
return_image = pipe(
init_image=img,
prompt=headers["prompt"],
- strength=float(headers["image_strength"]),
+ strength=float(headers["sketch_strength"]),
guidance_scale=float(headers["prompt_strength"]),
num_inference_steps=int(headers["steps"]),
)["sample"][0]`
yes! thank you....i made a boneheaded mistake last night and forgot to update the colab facpalm
thanks :) 1d63055f2f276a55f010a43238f2d1639014f894 should fix it!!
I'm getting this python error on colab server on each request
This are the requests headers sent from Krita:
Any ideas on how to solve this?