deepali1021 commited on
Commit
3519508
·
1 Parent(s): ac06e82

commented out open ai api key

Browse files
Files changed (1) hide show
  1. Chatbot.py +3 -3
Chatbot.py CHANGED
@@ -24,7 +24,7 @@ def main():
24
 
25
  # Sidebar for API key
26
  with st.sidebar:
27
- openai_api_key = st.text_input("OpenAI API Key", type="password")
28
  st.markdown("---")
29
  st.markdown("""
30
  ### About
@@ -36,8 +36,8 @@ def main():
36
  """)
37
 
38
  # Set OpenAI API key
39
- if openai_api_key:
40
- os.environ["OPENAI_API_KEY"] = openai_api_key
41
 
42
  # Main chat interface
43
  st.title("🤖 Intelligent Customer Support Agent")
 
24
 
25
  # Sidebar for API key
26
  with st.sidebar:
27
+ #openai_api_key = st.text_input("OpenAI API Key", type="password")
28
  st.markdown("---")
29
  st.markdown("""
30
  ### About
 
36
  """)
37
 
38
  # Set OpenAI API key
39
+ # if openai_api_key:
40
+ # os.environ["OPENAI_API_KEY"] = openai_api_key
41
 
42
  # Main chat interface
43
  st.title("🤖 Intelligent Customer Support Agent")