Walterchamy commited on
Commit
47b00df
1 Parent(s): ef21d5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import streamlit as st
2
  import openai
3
 
4
- # Set up OpenAI API
5
- openai.api_key = "OPENAI_API_KEY"
 
6
 
7
  # KIITEC content
8
  KIITEC_CONTENT = """
 
1
  import streamlit as st
2
  import openai
3
 
4
+ import os
5
+
6
+ openai.api_key = os.getenv("OPENAI_API_KEY")
7
 
8
  # KIITEC content
9
  KIITEC_CONTENT = """