



'''simple docstring'''




def 				lowerCAmelCase_   (	_lowerCamelCase:   int					):
		if not isinstance(_lowerCamelCase       ,      _lowerCamelCase					):
				raise ValueError("""Input must be an integer"""					)
		if input_num <= 0:
				raise ValueError("""Input must be positive"""					)
		return sum(
		    divisor for divisor in range(1       ,      input_num // 2 + 1					) if input_num % divisor == 0					)


if __name__ == "__main__":
						import doctest

						doctest.testmod()




'''simple docstring'''




import warnings

from diffusers import StableDiffusionInpaintPipeline as StableDiffusionInpaintPipeline  # noqa F401


warnings.warn(
    '''The `inpainting.py` script is outdated. Please use directly `from diffusers import'''
    ''' StableDiffusionInpaintPipeline` instead.'''
)