code: 
  
  
  from __future__ import annotations
  
  
  
  
  
  def 						_lowerCamelCase		(							SCREAMING_SNAKE_CASE_				: list      ):
  
  
  
  
  
  
  							"""simple docstring"""
  
  
  
  							a_       :   Tuple			=	sorted(SCREAMING_SNAKE_CASE_      )
  							a_       :   Tuple			=	len(SCREAMING_SNAKE_CASE_      )
  							a_       :   Tuple			=	length >> 1
  							return (
  							    (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
  							    if length % 2 == 0
  							    else sorted_list[mid_index]
  							)
  
  
  
  
  
  def 						_lowerCamelCase		(							):
  
  
  
  
  
  
  							"""simple docstring"""
  
  
  
  							import doctest
  
  							doctest.testmod()
  
  
  if __name__ == "__main__":
  	main()
  
  
  
style_context: 
  
  
  from ...utils import is_transformers_available
  from .pipeline_latent_diffusion_superresolution import LDMSuperResolutionPipeline
  
  
  if is_transformers_available():
  	from .pipeline_latent_diffusion import LDMBertModel, LDMTextToImagePipeline
  
  
  