ReizenO8 commited on
Commit
93b1c91
·
verified ·
1 Parent(s): 7328823

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -348,7 +348,7 @@ with st.sidebar:
348
  # API Key
349
  st.markdown('<div class="section-head">Configuration</div>', unsafe_allow_html=True)
350
  api_key = st.text_input(
351
- "Gemini API Key",
352
  type="password",
353
  placeholder="gsk_...",
354
  help="Get free key at console.groq.com"
@@ -514,7 +514,7 @@ if ask_btn:
514
  if not query.strip():
515
  st.error("Please enter a question!")
516
  elif not st.session_state.api_configured:
517
- st.error("Please enter your Gemini API key in the sidebar!")
518
  else:
519
  with st.spinner("🔍 Retrieving context and generating answer..."):
520
  all_chunks = []
 
348
  # API Key
349
  st.markdown('<div class="section-head">Configuration</div>', unsafe_allow_html=True)
350
  api_key = st.text_input(
351
+ "API Key",
352
  type="password",
353
  placeholder="gsk_...",
354
  help="Get free key at console.groq.com"
 
514
  if not query.strip():
515
  st.error("Please enter a question!")
516
  elif not st.session_state.api_configured:
517
+ st.error("Please enter your API key in the sidebar!")
518
  else:
519
  with st.spinner("🔍 Retrieving context and generating answer..."):
520
  all_chunks = []