



from dataclasses import dataclass
from typing import List, Optional, Union

import numpy as np
import torch

from ...utils import BaseOutput, OptionalDependencyNotAvailable, is_torch_available, is_transformers_available







@dataclass
class 			__lowerCAmelCase    (			snake_case_						):
			UpperCamelCase   					=     4_2


try:
							if not (is_transformers_available() and is_torch_available()):
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							from ...utils.dummy_torch_and_transformers_objects import *  # noqa F403
else:
							from .pipeline_text_to_video_synth import TextToVideoSDPipeline
							from .pipeline_text_to_video_synth_imgaimg import VideoToVideoSDPipeline  # noqa: F401
							from .pipeline_text_to_video_zero import TextToVideoZeroPipeline







'''simple docstring'''

import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


lowercase_					= HUGGINGFACE_HUB_CACHE


lowercase_					= """config.json"""
lowercase_					= """diffusion_pytorch_model.bin"""
lowercase_					= """diffusion_flax_model.msgpack"""
lowercase_					= """model.onnx"""
lowercase_					= """diffusion_pytorch_model.safetensors"""
lowercase_					= """weights.pb"""
lowercase_					= """https://huggingface.co"""
lowercase_					= default_cache_path
lowercase_					= """diffusers_modules"""
lowercase_					= os.getenv("""HF_MODULES_CACHE""", os.path.join(hf_cache_home, """modules"""))
lowercase_					= ["""fp16""", """non-ema"""]
lowercase_					= """.self_attn"""



