





'''simple docstring'''



from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike






class 							__lowercase    ( lowerCAmelCase__  ):







	'''simple docstring'''

	def __init__(self       ,_lowerCamelCase = None       ,_lowerCamelCase = None       ,_lowerCamelCase = None       ,_lowerCamelCase = None       ,_lowerCamelCase = False       ,_lowerCamelCase = False       ,_lowerCamelCase = None       ,**_lowerCamelCase       ,)							->							Optional[int]:







				'''simple docstring'''





				__lowercase			  =							path_or_paths
				__lowercase			  =							split if split or isinstance(_lowerCamelCase       ,_lowerCamelCase	) else '''train'''
				__lowercase			  =							features
				__lowercase			  =							cache_dir
				__lowercase			  =							keep_in_memory
				__lowercase			  =							streaming
				__lowercase			  =							num_proc
				__lowercase			  =							kwargs


	@abstractmethod
	def   _UpperCAmelCase       (self	)							->							Union[Dataset, DatasetDict, IterableDataset, IterableDatasetDict]:







				'''simple docstring'''





				pass






class 							__lowercase    ( lowerCAmelCase__  ):







	'''simple docstring'''

	def __init__(self       ,_lowerCamelCase = None       ,_lowerCamelCase = None       ,_lowerCamelCase = False       ,_lowerCamelCase = False       ,_lowerCamelCase = None       ,**_lowerCamelCase       ,)							->							List[Any]:







				'''simple docstring'''





				__lowercase			  =							features
				__lowercase			  =							cache_dir
				__lowercase			  =							keep_in_memory
				__lowercase			  =							streaming
				__lowercase			  =							num_proc
				__lowercase			  =							kwargs


	@abstractmethod
	def   _UpperCAmelCase       (self	)							->							Union[Dataset, IterableDataset]:







				'''simple docstring'''





				pass












'''simple docstring'''



# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works

from ...utils import deprecate
from ..controlnet.pipeline_flax_controlnet import FlaxStableDiffusionControlNetPipeline  # noqa: F401


deprecate(
    '''stable diffusion controlnet''',
    '''0.22.0''',
    '''Importing `FlaxStableDiffusionControlNetPipeline` from diffusers.pipelines.stable_diffusion.flax_pipeline_stable_diffusion_controlnet is deprecated. Please import `from diffusers import FlaxStableDiffusionControlNetPipeline` instead.''',
    standard_warn=False,
    stacklevel=3,
)





