Skip to content

TypeError: Can't instantiate abstract class Carousel with abstract methods deserialize, serialize #2417

@joytianya

Description

@joytianya

Describe the bug

https://huggingface.co/spaces/marcelcastrobr/CLIP-image-search/blob/main/app.py

outputs=gr.outputs.Carousel(gr.outputs.Image(type="pil"))

error:
TypeError: Can't instantiate abstract class Carousel with abstract methods deserialize, serialize

what is the problem?

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

https://huggingface.co/spaces/marcelcastrobr/CLIP-image-search/blob/main/app.py

Screenshot

No response

Logs

TypeError: Can't instantiate abstract class Carousel with abstract methods deserialize, serialize

System Info

3.4.1

Severity

annoying

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions