Spaces:
Sleeping
Sleeping
Update app.py
Browse files204 unmodified lines20520620720820921021121221321421521621721821922022122222322422513 unmodified lines239240241242243244204 unmodified lines# -------------------------# Main Runner Tool#@tooldef get_now_showing_movies() -> str:"""A tool that fetches the current screening movies at NEX cinema in Singapore.Args:no argument required."""return asyncio.run(_get_now_showing_movies())async def get_now_showing_movies():"""A tool that fetches the current screening movies at NEX cinema in Singapore.Args:no argument required."""connector = aiohttp.TCPConnector(limit=CONCURRENT_REQUESTS)async with aiohttp.ClientSession(connector=connector) as session:13 unmodified linesreturn json.dumps(results, indent=2, ensure_ascii=False)# -----------------------204 unmodified lines20520620720820921021121221313 unmodified lines227228229230231232233234235236237238239240204 unmodified lines# -------------------------# Main Runner Tool#async def get_now_showing_movies():connector = aiohttp.TCPConnector(limit=CONCURRENT_REQUESTS)async with aiohttp.ClientSession(connector=connector) as session:13 unmodified linesreturn json.dumps(results, indent=2, ensure_ascii=False)@tooldef get_now_showing_movies() -> str:"""A tool that fetches the current screening movies at NEX cinema in Singapore.Args:no argument required."""return asyncio.run(_get_now_showing_movies())# -----------------------
app.py+9-13