-
Notifications
You must be signed in to change notification settings - Fork 346
Open
Description
I'm using the animation API and getting
TypeError: 'NoneType' object is not subscriptable
here:
https://github.com/Stability-AI/stability-sdk/blob/main/src/stability_sdk/animation.py#L217-L219
def cv2_to_pil(cv2_img: np.ndarray) -> Image.Image:
"""Convert a cv2 BGR ndarray to a PIL Image"""
return Image.fromarray(cv2_img[:, :, ::-1])
I guess this is just a symptom that the animation API isn't returning any frames.
I've tried with various model versions:
# "model": "stable-diffusion-v1-5",
# "model": "stable-diffusion-512-v2-1", # have to force this
"model": "stable-diffusion-xl-1024-v0-9", # have to force this
# "model": "stable-diffusion-xl-1024-v1-0", # have to force this
wondering if the API is currently having downtime or how else I could debug this?
Metadata
Metadata
Assignees
Labels
No labels