scribble-diffusion icon indicating copy to clipboard operation
scribble-diffusion copied to clipboard

Not able to set it up locally

Open Arthavruksha opened this issue 1 year ago • 1 comments

Hey,

I have been wanting to set up Scribble Diffusion locally and followed all steps for it and even added my Replicate API Key into .env.local file but as you can see from the Screenshot that Its failing to recognize the API Key's presence even though it exists.

What should i do? image

Arthavruksha avatar May 08 '23 11:05 Arthavruksha

Hey there, I am getting the same problem, made a new key. But the key works using this script below, works great, but the scribble wont see the .env file, or env.local. I had this working 4 months ago and came back to play around, there was updates to the env file as you didn't need an api key then.

From https://replicate.com/docs/get-started/nodejs

curl -s -X POST
-d '{"version": "5c7d5dc6dd8bf75c1acaa8565735e7986bc5b66206b55cca93cb72c9bf15ccaa", "input": {"text": "Alice"}}'
-H "Authorization: Token r8_XcGqk5GTiNJtVoIq0UyiMR0Hv6oQqvC3Ff5xX"
-H 'Content-Type: application/json'
https://api.replicate.com/v1/predictions

davidtkeane avatar Jul 09 '23 23:07 davidtkeane