


"""simple docstring"""




from __future__ import annotations





def       a_ (	lowercase__ :list[int]     ):
			if not nums:
						return 0
			__lowerCamelCase          =      nums[0]
			__lowerCamelCase          =      0
			for num in nums[1:]:
						__lowerCamelCase     ,__lowerCamelCase          =      (
						    max_excluding + num,
						    max(lowercase__,			lowercase__     ),
						)
			return max(lowercase__,			lowercase__     )


if __name__ == "__main__":
					import doctest

					doctest.testmod()








"""simple docstring"""




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 			__snake_case   (lowerCamelCase  ):
							__a					 =       42


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




