userIdc2024 commited on
Commit
bff4489
·
verified ·
1 Parent(s): 006c8f3

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -422,7 +422,7 @@ def main():
422
  """)
423
 
424
  elif generate_button:
425
- if not GEMINI_API_KEY or GEMINI_API_KEY == "your-gemini-api-key-here":
426
  st.error("Please configure your Gemini API key in the backend.")
427
  return
428
 
 
422
  """)
423
 
424
  elif generate_button:
425
+ if not GEMINI_API_KEY or GEMINI_API_KEY == os.getenv("GEMENI_KEY"):
426
  st.error("Please configure your Gemini API key in the backend.")
427
  return
428