added api key in the program
added api key in the program
This commit is contained in:
parent
c985bf5a47
commit
a4bfd57df2
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue