Skip to content

Commit

Permalink
Masking text input for Groq API Key
Browse files Browse the repository at this point in the history
Change to password input and move example API key to title
  • Loading branch information
Bklieger committed May 24, 2024
1 parent 2feb1a9 commit 7f45b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def empty_st():

with st.form("groqform"):
if not GROQ_API_KEY:
groq_input_key = st.text_input("Enter your Groq API Key:", "gsk_yA...")
groq_input_key = st.text_input("Enter your Groq API Key (gsk_yA...):", "",type="password")

topic_text = st.text_input("What do you want the book to be about?", "")

Expand Down

0 comments on commit 7f45b1f

Please sign in to comment.