cbh123 / narrator

David Attenborough narrates your life
4.35k stars 537 forks source link

API Keys #41

Open GreenerX opened 9 months ago

GreenerX commented 9 months ago

Where can I add my API keys so that I don't need to export them every time I launch the project?

ben-xD commented 9 months ago

Put it an .env file and make sure it gets loaded by either:

[tool.pdm.scripts]
_.env_file = ".env"

There are other ways, but these would be the most popular (most popular first)

Example .env:

ELEVEN_API_KEY=
ELEVEN_VOICE_ID=