Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
|
|
6 |
|
7 |
# (Keep Constants as is)
|
8 |
# --- Constants ---
|
@@ -40,7 +41,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
40 |
|
41 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
42 |
try:
|
43 |
-
agent = BasicAgent()
|
|
|
44 |
except Exception as e:
|
45 |
print(f"Error instantiating agent: {e}")
|
46 |
return f"Error initializing agent: {e}", None
|
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
+
from agent import GeminiAgent
|
7 |
|
8 |
# (Keep Constants as is)
|
9 |
# --- Constants ---
|
|
|
41 |
|
42 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
43 |
try:
|
44 |
+
# agent = BasicAgent()
|
45 |
+
agent = GeminiAgent()
|
46 |
except Exception as e:
|
47 |
print(f"Error instantiating agent: {e}")
|
48 |
return f"Error initializing agent: {e}", None
|