Update app.py
Browse files
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 |
-
|
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)
|