
'''simple docstring'''
from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCAmelCase					:    Dict           = logging.get_logger(__name__)

lowerCAmelCase					:    Optional[Any]           = {
    'microsoft/cvt-13': 'https://huggingface.co/microsoft/cvt-13/resolve/main/config.json',
    # See all Cvt models at https://huggingface.co/models?filter=cvt
}


class 			SCREAMING_SNAKE_CASE__      (     snake_case_):
				lowerCAmelCase_     			=							"""cvt"""







				def __init__(       self						,				A_=3						,				A_=[7, 3, 3]						,				A_=[4, 2, 2]						,				A_=[2, 1, 1]						,				A_=[64, 192, 384]						,				A_=[1, 3, 6]						,				A_=[1, 2, 10]						,				A_=[4.0, 4.0, 4.0]						,				A_=[0.0, 0.0, 0.0]						,				A_=[0.0, 0.0, 0.0]						,				A_=[0.0, 0.0, 0.1]						,				A_=[True, True, True]						,				A_=[False, False, True]						,				A_=["dw_bn", "dw_bn", "dw_bn"]						,				A_=[3, 3, 3]						,				A_=[1, 1, 1]						,				A_=[2, 2, 2]						,				A_=[1, 1, 1]						,				A_=[1, 1, 1]						,				A_=0.02						,				A_=1e-12						,				**A_						,				)->		Any:







											'''simple docstring'''






											super().__init__(**A_     )
											UpperCamelCase   			=     num_channels
											UpperCamelCase   			=     patch_sizes
											UpperCamelCase   			=     patch_stride
											UpperCamelCase   			=     patch_padding
											UpperCamelCase   			=     embed_dim
											UpperCamelCase   			=     num_heads
											UpperCamelCase   			=     depth
											UpperCamelCase   			=     mlp_ratio
											UpperCamelCase   			=     attention_drop_rate
											UpperCamelCase   			=     drop_rate
											UpperCamelCase   			=     drop_path_rate
											UpperCamelCase   			=     qkv_bias
											UpperCamelCase   			=     cls_token
											UpperCamelCase   			=     qkv_projection_method
											UpperCamelCase   			=     kernel_qkv
											UpperCamelCase   			=     padding_kv
											UpperCamelCase   			=     stride_kv
											UpperCamelCase   			=     padding_q
											UpperCamelCase   			=     stride_q
											UpperCamelCase   			=     initializer_range
											UpperCamelCase   			=     layer_norm_eps






'''simple docstring'''
import sys
import webbrowser

import requests
from bsa import BeautifulSoup
from fake_useragent import UserAgent

if __name__ == "__main__":
						print('Googling.....')
						lowerCAmelCase					:    List[Any]           = 'https://www.google.com/search?q=' + ' '.join(sys.argv[1:])
						lowerCAmelCase					:    List[Any]           = requests.get(url, headers={'UserAgent': UserAgent().random})
						# res.raise_for_status()
						with open('project1a.html', 'wb') as out_file:  # only for knowing the class
												for data in res.iter_content(1_00_00):
																		out_file.write(data)
						lowerCAmelCase					:    Tuple           = BeautifulSoup(res.text, 'html.parser')
						lowerCAmelCase					:    List[Any]           = list(soup.select('.eZt8xd'))[:5]

						print(len(links))
						for link in links:
												if link.text == "Maps":
																		webbrowser.open(link.get('href'))
												else:
																		webbrowser.open(f"""https://google.com{link.get('href')}""")




