OpkaGames's picture
Upload folder using huggingface_hub
870ab6b
raw
history blame contribute delete
569 Bytes
"""gr.Carousel() component."""
from gradio_client.serializing import SimpleSerializable
from gradio.components.base import IOComponent
from gradio.events import Changeable
class Carousel(IOComponent, Changeable, SimpleSerializable):
"""
Deprecated Component
"""
def __init__(
self,
*args,
**kwargs,
):
raise DeprecationWarning(
"The Carousel component is deprecated. Please consider using the Gallery "
"component, which can be used to display images (and optional captions).",
)