ashishmehra1926 commited on
Commit
96298f1
·
verified ·
1 Parent(s): f44b066

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import google.generativeai as genai
8
  # load_dotenv()
9
 
10
  # Retrieve the API key securely from Streamlit secrets
11
- API_KEY = st.secrets["google"]["GOOGLE_API_KEY"]
12
 
13
  # Configure Gemini API with the API Key from secrets
14
  genai.configure(api_key=API_KEY)
 
8
  # load_dotenv()
9
 
10
  # Retrieve the API key securely from Streamlit secrets
11
+ GOOGLE_API_KEY = st.secrets["gemini"]["GOOGLE_API_KEY"]
12
 
13
  # Configure Gemini API with the API Key from secrets
14
  genai.configure(api_key=API_KEY)