hbui commited on
Commit
8e64883
·
1 Parent(s): 5dcf241

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ st.title("Welcome to RegBotBeta2.0")
14
  st.header("Powered by `LlamaIndex🦙`, `Langchain🦜🔗 ` and `OpenAI API`")
15
 
16
  #api_key = st.text_input("Enter your OpenAI API key here:", type="password")
 
17
 
18
  if api_key:
19
  resp = validate(api_key)
 
14
  st.header("Powered by `LlamaIndex🦙`, `Langchain🦜🔗 ` and `OpenAI API`")
15
 
16
  #api_key = st.text_input("Enter your OpenAI API key here:", type="password")
17
+ api_key = os.environ['OPENAI_API_KEY']
18
 
19
  if api_key:
20
  resp = validate(api_key)