'''simple docstring'''




def 				lowerCamelCase      ( UpperCAmelCase__			:   str					)     -> int:
							lowercase_   :     Dict									=			str(UpperCAmelCase__					).strip()
							if not oct_string:
														raise ValueError("""Empty string was passed to the function"""					)
							lowercase_   :     Union[str, Any]									=			oct_string[0] == """-"""
							if is_negative:
														lowercase_   :     Dict									=			oct_string[1:]
							if not oct_string.isdigit() or not all(0 <= int(UpperCAmelCase__					) <= 7 for char in oct_string					):
														raise ValueError("""Non-octal value was passed to the function"""					)
							lowercase_   :     Optional[int]									=			0
							for char in oct_string:
														lowercase_   :     Any									=			8 * decimal_number + int(UpperCAmelCase__					)
							if is_negative:
														lowercase_   :     Union[str, Any]									=			-decimal_number
							return decimal_number


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

						testmod()






'''simple docstring'''




_lowercase		:					List[str]													=		"\n# Diffusers installation\n! pip install diffusers transformers datasets accelerate\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/diffusers.git\n"

_lowercase		:					Union[str, Any]													=		[{"type": "code", "content": INSTALL_CONTENT}]





