



'''simple docstring'''




import requests

UpperCamelCase__ :			List[str]												=				'''YOUR API KEY'''


def        lowerCAmelCase_     (			_lowerCamelCase:     str ,   _lowerCamelCase:     str = giphy_api_key      ):
		__SCREAMING_SNAKE_CASE :	Union[str, Any]					 =	"""+""".join(query.split()      )
		__SCREAMING_SNAKE_CASE :	Union[str, Any]					 =	F"https://api.giphy.com/v1/gifs/search?q={formatted_query}&api_key={api_key}"
		__SCREAMING_SNAKE_CASE :	str					 =	requests.get(_lowerCamelCase      ).json()["""data"""]
		return [gif["url"] for gif in gifs]


if __name__ == "__main__":
						print('''\n'''.join(get_gifs('''space ship''')))




'''simple docstring'''




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


UpperCamelCase__ :			Optional[int]												=				{'''configuration_wavlm''': ['''WAVLM_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''WavLMConfig''']}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						UpperCamelCase__ :			Tuple												=				[
						    '''WAVLM_PRETRAINED_MODEL_ARCHIVE_LIST''',
						    '''WavLMForAudioFrameClassification''',
						    '''WavLMForCTC''',
						    '''WavLMForSequenceClassification''',
						    '''WavLMForXVector''',
						    '''WavLMModel''',
						    '''WavLMPreTrainedModel''',
						]

if TYPE_CHECKING:
						from .configuration_wavlm import WAVLM_PRETRAINED_CONFIG_ARCHIVE_MAP, WavLMConfig

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_wavlm import (
												    WAVLM_PRETRAINED_MODEL_ARCHIVE_LIST,
												    WavLMForAudioFrameClassification,
												    WavLMForCTC,
												    WavLMForSequenceClassification,
												    WavLMForXVector,
												    WavLMModel,
												    WavLMPreTrainedModel,
												)

else:
						import sys

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