Woocy commited on
Commit
312a0c1
1 Parent(s): 3f62ed8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -15,10 +15,8 @@ logging.basicConfig(
15
  format="%(asctime)s [%(levelname)s] [%(filename)s:%(lineno)d] %(message)s",
16
  )
17
 
18
- def init_openai_settings():
19
- openai.api_key = os.getenv("openai_key")
20
 
21
- my_api_key = openai.api_key
22
  #"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" # 在这里输入你的 API 密钥
23
 
24
  # if we are running in Docker
 
15
  format="%(asctime)s [%(levelname)s] [%(filename)s:%(lineno)d] %(message)s",
16
  )
17
 
 
 
18
 
19
+ my_api_key = os.getenv("openai_key")
20
  #"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" # 在这里输入你的 API 密钥
21
 
22
  # if we are running in Docker