Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,10 +8,10 @@ GEMINI_API_KEY = os.environ.get("GEMINI_API_KEY")
|
|
| 8 |
if not GEMINI_API_KEY:
|
| 9 |
raise ValueError("❌ GEMINI_API_KEY not found. Please set it in your Hugging Face Space Secrets.")
|
| 10 |
|
| 11 |
-
client = genai.
|
| 12 |
|
| 13 |
# --- Constants ---
|
| 14 |
-
MODEL_NAME = "gemini-
|
| 15 |
AVATAR_IMAGES = {
|
| 16 |
"Agent A (Optimist)": "https://i.imgur.com/2GMV9y7.png",
|
| 17 |
"Agent B (Skeptic)": "https://i.imgur.com/KzX3T21.png",
|
|
|
|
| 8 |
if not GEMINI_API_KEY:
|
| 9 |
raise ValueError("❌ GEMINI_API_KEY not found. Please set it in your Hugging Face Space Secrets.")
|
| 10 |
|
| 11 |
+
client = genai.Client()
|
| 12 |
|
| 13 |
# --- Constants ---
|
| 14 |
+
MODEL_NAME = "gemini-2.5-flash"
|
| 15 |
AVATAR_IMAGES = {
|
| 16 |
"Agent A (Optimist)": "https://i.imgur.com/2GMV9y7.png",
|
| 17 |
"Agent B (Skeptic)": "https://i.imgur.com/KzX3T21.png",
|