VashuTheGreat's picture
update readme.md
b5816b4
Raw
History Blame Contribute Delete
153 Bytes
import aiofiles
async def load_image(image_path: str) -> bytes:
async with aiofiles.open(image_path, mode='rb') as f:
return await f.read()