kheopss commited on
Commit
09703e5
·
verified ·
1 Parent(s): a1352fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ import hashlib
32
  import tiktoken
33
 
34
  nest_asyncio.apply()
35
- openai_key = "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"
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