Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,8 @@ import google.generativeai as genai
|
|
| 16 |
|
| 17 |
from dotenv import load_dotenv
|
| 18 |
|
|
|
|
|
|
|
| 19 |
load_dotenv()
|
| 20 |
# (Keep Constants as is)
|
| 21 |
# --- Constants ---
|
|
@@ -276,7 +278,7 @@ async def run_and_submit_all(profile):
|
|
| 276 |
|
| 277 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 278 |
try:
|
| 279 |
-
agent =
|
| 280 |
except Exception as e:
|
| 281 |
print(f"Error instantiating agent: {e}")
|
| 282 |
return f"Error initializing agent: {e}", None
|
|
|
|
| 16 |
|
| 17 |
from dotenv import load_dotenv
|
| 18 |
|
| 19 |
+
from gemini_agent import GeminiAgent
|
| 20 |
+
|
| 21 |
load_dotenv()
|
| 22 |
# (Keep Constants as is)
|
| 23 |
# --- Constants ---
|
|
|
|
| 278 |
|
| 279 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
| 280 |
try:
|
| 281 |
+
agent = GeminiAgent()
|
| 282 |
except Exception as e:
|
| 283 |
print(f"Error instantiating agent: {e}")
|
| 284 |
return f"Error initializing agent: {e}", None
|