Fahad Mattoo commited on
Commit
e6ae968
·
unverified ·
1 Parent(s): 9cbc442

adfadf (#15)

Browse files
Files changed (1) hide show
  1. src/app.py +1 -2
src/app.py CHANGED
@@ -82,10 +82,9 @@ def main():
82
  reset_history()
83
 
84
  with st.sidebar:
85
- st.text_input(
86
  label="OpenAI API key",
87
  value="***",
88
- key="openai_api_key",
89
  help="This will not be saved or stored.",
90
  type="password",
91
  )
 
82
  reset_history()
83
 
84
  with st.sidebar:
85
+ st.session_state["openai_api_key"] = st.text_input(
86
  label="OpenAI API key",
87
  value="***",
 
88
  help="This will not be saved or stored.",
89
  type="password",
90
  )