Spaces:
Runtime error
Runtime error
Dy
commited on
Commit
•
3e8cfeb
1
Parent(s):
4b1428d
Update app.py
Browse files
app.py
CHANGED
@@ -11,9 +11,8 @@ import tempfile
|
|
11 |
import numpy as np
|
12 |
import gradio as gr
|
13 |
|
14 |
-
OPENAI_API_KEY = OPENAI_API_KEY
|
15 |
-
|
16 |
-
ELEVEN_LABS_API = ELEVEN_LABS_API
|
17 |
|
18 |
# Set your OpenAI API key here
|
19 |
openai.api_key = OPENAI_API_KEY
|
|
|
11 |
import numpy as np
|
12 |
import gradio as gr
|
13 |
|
14 |
+
OPENAI_API_KEY = os.environ['OPENAI_API_KEY']
|
15 |
+
ELEVEN_LABS_API = os.environ['ELEVEN_LABS_API']
|
|
|
16 |
|
17 |
# Set your OpenAI API key here
|
18 |
openai.api_key = OPENAI_API_KEY
|