Sitelet https://github.com/replicate/scribble-diffusion/issues/62
Skip to content

Not able to set it up locally #62

Description

@Arthavruksha

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

Activity

  1. davidtkeane commented on Jul 9, 2023

    @davidtkeane

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions