Access to XMLHttpRequest at 'https://api.replicate.com/v1/predictions' from origin 'http://localhost:#####' has been blocked by
CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on
the requested resource.
One solution could be to add a proxy URL when authenticating Replicate