hbui commited on
Commit
c0766fc
·
1 Parent(s): 7cd6032

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -10,10 +10,12 @@ from utils.util import *
10
 
11
  st.set_page_config(page_title="RegBotBeta", page_icon="📜🤖")
12
 
13
- 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)
 
10
 
11
  st.set_page_config(page_title="RegBotBeta", page_icon="📜🤖")
12
 
13
+ st.title("Welcome to RegBotBeta2.1")
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
+ api_key = os.environ['OPENAI_API_KEY']
19
 
20
  if api_key:
21
  resp = validate(api_key)