



"""simple docstring"""






__snake_case				:  Optional[Any] =       8.314_462  # Unit - J mol-1 K-1


def      _lowercase							(    __snake_case   ,__snake_case   ,__snake_case      )		->  float:
			if moles < 0 or kelvin < 0 or volume < 0:
						raise ValueError("Invalid inputs. Enter positive value."      )
			return moles * kelvin * UNIVERSAL_GAS_CONSTANT / volume


def      _lowercase							(    __snake_case   ,__snake_case   ,__snake_case      )		->  float:
			if moles < 0 or kelvin < 0 or pressure < 0:
						raise ValueError("Invalid inputs. Enter positive value."      )
			return moles * kelvin * UNIVERSAL_GAS_CONSTANT / pressure


if __name__ == "__main__":
	from doctest import testmod

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