





'''simple docstring'''


_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        "prompt",
        "height",
        "width",
        "guidance_scale",
        "negative_prompt",
        "prompt_embeds",
        "negative_prompt_embeds",
        "cross_attention_kwargs",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["prompt", "negative_prompt"])

_SCREAMING_SNAKE_CASE	 =							frozenset([])

_SCREAMING_SNAKE_CASE	 =							frozenset(["image"])

_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        "image",
        "height",
        "width",
        "guidance_scale",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["image"])

_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        "prompt",
        "image",
        "height",
        "width",
        "guidance_scale",
        "negative_prompt",
        "prompt_embeds",
        "negative_prompt_embeds",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["prompt", "image", "negative_prompt"])

_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        # Text guided image variation with an image mask
        "prompt",
        "image",
        "mask_image",
        "height",
        "width",
        "guidance_scale",
        "negative_prompt",
        "prompt_embeds",
        "negative_prompt_embeds",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["prompt", "image", "mask_image", "negative_prompt"])

_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        # image variation with an image mask
        "image",
        "mask_image",
        "height",
        "width",
        "guidance_scale",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["image", "mask_image"])

_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        "example_image",
        "image",
        "mask_image",
        "height",
        "width",
        "guidance_scale",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["example_image", "image", "mask_image"])

_SCREAMING_SNAKE_CASE	 =							frozenset(["class_labels"])

_SCREAMING_SNAKE_CASE	 =							frozenset(["class_labels"])

_SCREAMING_SNAKE_CASE	 =							frozenset(["batch_size"])

_SCREAMING_SNAKE_CASE	 =							frozenset([])

_SCREAMING_SNAKE_CASE	 =							frozenset(["batch_size"])

_SCREAMING_SNAKE_CASE	 =							frozenset([])

_SCREAMING_SNAKE_CASE	 =							frozenset(
    [
        "prompt",
        "audio_length_in_s",
        "guidance_scale",
        "negative_prompt",
        "prompt_embeds",
        "negative_prompt_embeds",
        "cross_attention_kwargs",
    ]
)

_SCREAMING_SNAKE_CASE	 =							frozenset(["prompt", "negative_prompt"])
_SCREAMING_SNAKE_CASE	 =							frozenset(["input_tokens"])

_SCREAMING_SNAKE_CASE	 =							frozenset(["input_tokens"])









'''simple docstring'''


def 	__a(SCREAMING_SNAKE_CASE_  :					str		,       SCREAMING_SNAKE_CASE_  :					bool = False    ):



    '''simple docstring'''





    if not isinstance(SCREAMING_SNAKE_CASE_		,       SCREAMING_SNAKE_CASE_    ):
        _lowerCAmelCase				=      F'''Expected string as input, found {type(SCREAMING_SNAKE_CASE_    )}'''
        raise ValueError(SCREAMING_SNAKE_CASE_    )
    if not isinstance(SCREAMING_SNAKE_CASE_		,       SCREAMING_SNAKE_CASE_    ):
        _lowerCAmelCase				=      F'''Expected boolean as use_pascal parameter, found {type(SCREAMING_SNAKE_CASE_    )}'''
        raise ValueError(SCREAMING_SNAKE_CASE_    )

    _lowerCAmelCase				=      input_str.split("_"    )

    _lowerCAmelCase				=      0 if use_pascal else 1

    _lowerCAmelCase				=      words[start_index:]

    _lowerCAmelCase				=      [word[0].upper() + word[1:] for word in words_to_capitalize]

    _lowerCAmelCase				=      "" if use_pascal else words[0]

    return "".join([initial_word, *capitalized_words]    )


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

       testmod()


