added api key in the program

added api key in the program
This commit is contained in:
Roshan Venugopal 2023-11-16 13:09:32 -06:00
parent c985bf5a47
commit a4bfd57df2
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,11 @@ import json
import time import time
import simpleaudio as sa import simpleaudio as sa
import errno 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() client = OpenAI()