From a4bfd57df2de135c1ade3b92c44bfc8ae7df1adf Mon Sep 17 00:00:00 2001 From: Roshan Venugopal Date: Thu, 16 Nov 2023 13:09:32 -0600 Subject: [PATCH] added api key in the program added api key in the program --- narrator.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/narrator.py b/narrator.py index 0435b47..a07b6a1 100644 --- a/narrator.py +++ b/narrator.py @@ -5,7 +5,11 @@ import json import time import simpleaudio as sa import errno -from elevenlabs import generate, play, voices +from elevenlabs import generate, play, voices, set_api_key + +#Enter your Eleven labs API key +set_api_key("") + client = OpenAI()