KatGaw commited on
Commit
d07ec1d
β€’
1 Parent(s): 45ca673
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,6 +8,8 @@ import os
8
  st.title("πŸ’¬ Chatbot")
9
  st.caption("")
10
 
 
 
11
  # Initialize session state for storing messages if it doesn't already exist
12
  if "messages" not in st.session_state:
13
  st.session_state["messages"] = [{"role": "assistant", "content": "How can I help you?"}]
 
8
  st.title("πŸ’¬ Chatbot")
9
  st.caption("")
10
 
11
+
12
+ openai_api_key = os.environ["OPENAI_API_KEY"]
13
  # Initialize session state for storing messages if it doesn't already exist
14
  if "messages" not in st.session_state:
15
  st.session_state["messages"] = [{"role": "assistant", "content": "How can I help you?"}]