






__a:     List[Any]   					=					8.3_1_4_4_6_2  # Unit - J mol-1 K-1




def       _SCREAMING_SNAKE_CASE (							__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       _SCREAMING_SNAKE_CASE (							__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'''



from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
						if not (is_transformers_available() and is_torch_available()):
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						from ...utils.dummy_torch_and_transformers_objects import (
						    ImageTextPipelineOutput,
						    UniDiffuserPipeline,
						)
else:
						from .modeling_text_decoder import UniDiffuserTextDecoder
						from .modeling_uvit import UniDiffuserModel, UTransformeraDModel
						from .pipeline_unidiffuser import ImageTextPipelineOutput, UniDiffuserPipeline
