drguilhermeapolinario
commited on
Commit
•
75c7045
1
Parent(s):
c04f129
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,9 @@ import openai
|
|
5 |
import json
|
6 |
from io import StringIO
|
7 |
|
8 |
-
|
|
|
|
|
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 |
|