Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import google.generativeai as genai
|
|
3 |
import os
|
4 |
|
5 |
# Configure the Gemini API with your API key
|
6 |
-
genai.configure(api_key=os.environ["
|
7 |
|
8 |
# Initialize the Gemini Generative Model
|
9 |
model = genai.GenerativeModel("gemini-1.5-flash")
|
|
|
3 |
import os
|
4 |
|
5 |
# Configure the Gemini API with your API key
|
6 |
+
genai.configure(api_key=os.environ["YOUR_API_KEY"])
|
7 |
|
8 |
# Initialize the Gemini Generative Model
|
9 |
model = genai.GenerativeModel("gemini-1.5-flash")
|