c3ylab commited on
Commit
aa6396f
·
verified ·
1 Parent(s): 0f5b40c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ config.read('config.ini')
17
  # Access the password
18
  open_ai_key = config.get('access', 'openai_key')
19
 
 
 
20
 
21
  print(f"Openai key: {open_ai_key}")
22
 
 
17
  # Access the password
18
  open_ai_key = config.get('access', 'openai_key')
19
 
20
+ open_ai_key = st.secrets["OPENAI_APIKEY"]
21
+
22
 
23
  print(f"Openai key: {open_ai_key}")
24