Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ import hashlib
|
|
32 |
import tiktoken
|
33 |
|
34 |
nest_asyncio.apply()
|
35 |
-
openai_key =
|
36 |
os.environ["OPENAI_API_KEY"] = openai_key
|
37 |
|
38 |
|
|
|
32 |
import tiktoken
|
33 |
|
34 |
nest_asyncio.apply()
|
35 |
+
openai_key = os.getenv('openai_key_secret')
|
36 |
os.environ["OPENAI_API_KEY"] = openai_key
|
37 |
|
38 |
|