palbha commited on
Commit
6dbd5d4
·
verified ·
1 Parent(s): 5c8bbca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import time
7
  from google.colab import userdata
8
 
9
  # Configure the Gemini API
10
- GOOGLE_API_KEY = userdata.get('gemini_api') # Replace with your actual API key
11
  genai.configure(api_key=GOOGLE_API_KEY)
12
 
13
  # Initialize the model
 
7
  from google.colab import userdata
8
 
9
  # Configure the Gemini API
10
+ GOOGLE_API_KEY = os.getenv("gemini_api") # Replace with your actual API key
11
  genai.configure(api_key=GOOGLE_API_KEY)
12
 
13
  # Initialize the model