Benjamin Consolvo commited on
Commit
f9272a3
·
1 Parent(s): f2dc4d3

break api key

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ with st.sidebar:
22
  st.write(f"You selected: {modelname}")
23
  st.button("Start New Chat", on_click=clear_chat)
24
  try:
25
- st.session_state.api_key = st.secrets["openai_apikey"]
26
  except KeyError:
27
  # Add a text input for the API key if not in session state
28
  api_key = st.text_input("Enter your API Key", type="password")
 
22
  st.write(f"You selected: {modelname}")
23
  st.button("Start New Chat", on_click=clear_chat)
24
  try:
25
+ st.session_state.api_key = st.secrets["openai_apikey2"]
26
  except KeyError:
27
  # Add a text input for the API key if not in session state
28
  api_key = st.text_input("Enter your API Key", type="password")