Update app.py
Browse files
app.py
CHANGED
@@ -104,8 +104,8 @@ st.markdown("#### Have a conversaion with 1984 by George Orwell π")
|
|
104 |
with st.sidebar:
|
105 |
api_key = st.text_input(label = "Paste your OpenAI API key here to get started", type = "password")
|
106 |
|
107 |
-
if api_key:
|
108 |
-
|
109 |
|
110 |
st.info("This isn't saved π")
|
111 |
|
|
|
104 |
with st.sidebar:
|
105 |
api_key = st.text_input(label = "Paste your OpenAI API key here to get started", type = "password")
|
106 |
|
107 |
+
# if api_key:
|
108 |
+
os.environ["OPENAI_API_KEY"] = api_key
|
109 |
|
110 |
st.info("This isn't saved π")
|
111 |
|