fofr / cog-comfyui

Run ComfyUI with an API
https://replicate.com/fofr/any-comfyui-workflow
MIT License
544 stars 124 forks source link

fix 403 error using requests instead of urllib #57

Closed davut closed 7 months ago

davut commented 7 months ago

urllib does not let you download some urls so using requests is suggested on those cases

example url input that's not working with the current urllib: https://roomai.whaleapps.co/image.jpg

davut commented 7 months ago

Hey @fofr is this going to be considered or nah?

fofr commented 7 months ago

Thanks for the nudge. I'll review this early next week. Looks good.

davut commented 7 months ago

Thanks

fofr commented 7 months ago

I've merged and push this model to Replicate now: https://replicate.com/fofr/any-comfyui-workflow/versions/e300f182eb742fc0da05f0609e5176934c9aaceabb5e6d53ecf2632d78ada22c

Thank you for this fix 🙏

davut commented 7 months ago

Thank you for considering it!