





from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_flax_available,
    is_tf_available,
    is_torch_available,
)


A__:    List[Any]  	=	{'''configuration_encoder_decoder''': ['''EncoderDecoderConfig''']}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   A__:    Optional[Any]  	=	['''EncoderDecoderModel''']

try:
   if not is_tf_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   A__:    str  	=	['''TFEncoderDecoderModel''']

try:
   if not is_flax_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   A__:    Dict  	=	['''FlaxEncoderDecoderModel''']

if TYPE_CHECKING:
   from .configuration_encoder_decoder import EncoderDecoderConfig

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_encoder_decoder import EncoderDecoderModel

   try:
      if not is_tf_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_tf_encoder_decoder import TFEncoderDecoderModel

   try:
      if not is_flax_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_flax_encoder_decoder import FlaxEncoderDecoderModel

else:
   import sys

   A__:    List[str]  	=	_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)









'''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'])



