Spaces:
Sleeping
Sleeping
add password box
Browse files
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", "
|
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(
|