How to download image from s3?
When I use requests,a error "cannot identify image file <_io.BytesIO object at 0x7f59d0153600>" .
5 Replies
Should use Environment Variables for S3, just like upload image ?
GitHub
runpod-python/runpod/serverless/utils/rp_download.py at main · runp...
🐍 | Python library for RunPod API and serverless worker SDK. - runpod/runpod-python
thanks. Need set environment variables for s3 in template ?
just saw this post. Why would we use this instead of standard python library like requests?
I'm also debugging using requests are very slow to download 500kb files, maybe that's why