Spaces:
Sleeping
Sleeping
Update app.py
Browse files18 unmodified lines192021222223242518 unmodified lines
async def random_url(_): pet = random.choice(["cat", "dog"]) pet = random.choice(["monkey", "snakes"]) api_url = f"https://api.the{pet}api.com/v1/images/search" async with aiohttp.ClientSession() as session: async with session.get(api_url) as resp:app.py+1-1