This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Image loader from HTTP URLs with optional caching. | |
| Allows users to disable cache and force fresh downloads from specified HTTP URLs. | |
| Based on: https://github.com/jerrywap/ComfyUI_LoadImageFromHttpURL | |
| """ | |
| import requests | |
| from PIL import Image | |
| import io |