Spaces:
Sleeping
Sleeping
Update app.py
#2
by
drguilhermeapolinario
- opened
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 |
|