keanteng commited on
Commit
37d174d
·
1 Parent(s): 4e87786

add password box

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ with st.sidebar:
50
  with st.expander("PaLM-2 API Configuration", expanded=True):
51
  st.caption(":red[You must enable API and input your own API key when using Streamlit web]")
52
  web_toggle = st.toggle('Enable API')
53
- api_input = st.text_input("Your Google API", "API_KEY")
54
  st.caption("You can get your API key from https://developers.generativeai.google/")
55
 
56
  location_input = st.text_input(
 
50
  with st.expander("PaLM-2 API Configuration", expanded=True):
51
  st.caption(":red[You must enable API and input your own API key when using Streamlit web]")
52
  web_toggle = st.toggle('Enable API')
53
+ api_input = st.text_input("Your Google API Token", type = "password", placeholder="Enter your API key here")
54
  st.caption("You can get your API key from https://developers.generativeai.google/")
55
 
56
  location_input = st.text_input(