Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -5,7 +5,9 @@ import openai
5
  import json
6
  from io import StringIO
7
 
8
- openai.api_key = "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" # YOUR_API_KEY
 
 
9
 
10
  st.title("🤖 AI ChatBot")
11
 
 
5
  import json
6
  from io import StringIO
7
 
8
+ with st.sidebar:
9
+ openai_api_key = st.text_input("OpenAI API Key", key="chatbot_api_key", type="password")
10
+ st.markdown("[OpenAI API_key](https://platform.openai.com/account/api-keys)")
11
 
12
  st.title("🤖 AI ChatBot")
13