


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


SCREAMING_SNAKE_CASE       :		Optional[int]      =				{
    "configuration_x_clip": [
        "XCLIP_PRETRAINED_CONFIG_ARCHIVE_MAP",
        "XCLIPConfig",
        "XCLIPTextConfig",
        "XCLIPVisionConfig",
    ],
    "processing_x_clip": ["XCLIPProcessor"],
}

try:
   if not is_torch_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   SCREAMING_SNAKE_CASE       :		Tuple      =				[
       "XCLIP_PRETRAINED_MODEL_ARCHIVE_LIST",
       "XCLIPModel",
       "XCLIPPreTrainedModel",
       "XCLIPTextModel",
       "XCLIPVisionModel",
   ]

if TYPE_CHECKING:
   from .configuration_x_clip import (
       XCLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
       XCLIPConfig,
       XCLIPTextConfig,
       XCLIPVisionConfig,
   )
   from .processing_x_clip import XCLIPProcessor

   try:
      if not is_torch_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .modeling_x_clip import (
          XCLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
          XCLIPModel,
          XCLIPPreTrainedModel,
          XCLIPTextModel,
          XCLIPVisionModel,
      )

else:
   import sys

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





def     UpperCamelCase    (      _a		)					->							int:
     '''simple docstring'''





     assert isinstance(_a       ,		_a		), f"The input value of [n={number}] is not an integer"

     if number == 1:
          return 2
     elif number < 1:
          lowercase_       :str     =       f"The input value of [n={number}] has to be > 0"
          raise ValueError(_a		)
     else:
          lowercase_       :List[str]     =       sylvester(number - 1		)
          lowercase_       :Union[str, Any]     =       num - 1
          lowercase_       :List[str]     =       num
          return lower * upper + 1


if __name__ == "__main__":
   print(f"The 8th number in Sylvester's sequence: {sylvester(8)}")

