Spaces:
Sleeping
Sleeping
Update agents/intent.py
Browse files- agents/intent.py +1 -1
agents/intent.py
CHANGED
|
@@ -3,7 +3,7 @@ import os, json, re
|
|
| 3 |
import google.generativeai as genai
|
| 4 |
|
| 5 |
def run(message: str) -> dict:
|
| 6 |
-
api_key = os.environ.get("GEMINI_API_KEY", "")
|
| 7 |
if not api_key:
|
| 8 |
raise ValueError("GEMINI_API_KEY secret not set in HuggingFace Space settings.")
|
| 9 |
|
|
|
|
| 3 |
import google.generativeai as genai
|
| 4 |
|
| 5 |
def run(message: str) -> dict:
|
| 6 |
+
api_key = os.environ.get("GEMINI_API_KEY", "your_MapAI")
|
| 7 |
if not api_key:
|
| 8 |
raise ValueError("GEMINI_API_KEY secret not set in HuggingFace Space settings.")
|
| 9 |
|