sanikamal commited on
Commit
ac1e9f1
·
verified ·
1 Parent(s): 6d9035f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -161,8 +161,6 @@ selected_api = st.sidebar.selectbox("Select API Key", ["OpenAI", "Google API"])
161
  # Input field to set the selected API key
162
  api_key = st.sidebar.text_input(f"Enter {selected_api} Key:")
163
 
164
- # Button to update the selected API key
165
- session_state = get_session_state()
166
  update_button = st.sidebar.button(f"Update {selected_api} Key", on_click=update_api_key, args=(selected_api, api_key))
167
 
168
 
 
161
  # Input field to set the selected API key
162
  api_key = st.sidebar.text_input(f"Enter {selected_api} Key:")
163
 
 
 
164
  update_button = st.sidebar.button(f"Update {selected_api} Key", on_click=update_api_key, args=(selected_api, api_key))
165
 
166