





'''simple docstring'''



def 				_lowerCAmelCase  (			lowerCamelCase_     :					list						,    lowerCamelCase_     :					int						,    lowerCamelCase_     :					int = 0						,    lowerCamelCase_     :					int = 0			):
			__lowercase			  =							right or len(lowerCamelCase_			) - 1
			if left > right:
						return -1
			elif list_data[left] == key:
						return left
			elif list_data[right] == key:
						return right
			else:
						return search(lowerCamelCase_						,    lowerCamelCase_						,    left + 1						,    right - 1			)


if __name__ == "__main__":
	import doctest

	doctest.testmod()












'''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,
)





