"""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 					lowerCAmelCase_      (     lowerCAmelCase   ):



				"""simple docstring"""
				_lowerCAmelCase       :      Union[List[np.ndarray], torch.FloatTensor]


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 requests
from bsa import BeautifulSoup





def 				lowerCAmelCase__      (     _UpperCamelCase    :			str = "https://www.worldometers.info/coronavirus"   )   ->			dict:





						"""simple docstring"""






						snake_case        =     BeautifulSoup(requests.get(_UpperCamelCase   ).text	,     'html.parser'   )
						snake_case        =     soup.findAll('h1'   )
						snake_case        =     soup.findAll('div'	,     {'class': 'maincounter-number'}   )
						keys += soup.findAll('span'	,     {'class': 'panel-title'}   )
						values += soup.findAll('div'	,     {'class': 'number-table-main'}   )
						return {key.text.strip(): value.text.strip() for key, value in zip(_UpperCamelCase	,     _UpperCamelCase   )}


if __name__ == "__main__":
					print("\033[1m" + "COVID-19 Status of the World" + "\033[0m\n")
					for key, value in world_covidaa_stats().items():
										print(f"""{key}\n{value}\n""")


