Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import requests
|
|
4 |
import pandas as pd
|
5 |
from dotenv import load_dotenv
|
6 |
|
7 |
-
from myagent import BasicAgent
|
8 |
-
from multiagents import MultiAgent
|
9 |
|
10 |
from phoenix.otel import register
|
11 |
from openinference.instrumentation.smolagents import SmolagentsInstrumentor
|
@@ -45,8 +45,8 @@ def run_and_submit_all(nb_questions: int, profile: gr.OAuthProfile | None):
|
|
45 |
|
46 |
# 1. Instantiate Agent
|
47 |
try:
|
48 |
-
|
49 |
-
agent = MultiAgent()
|
50 |
except Exception as e:
|
51 |
print(f"Error instantiating agent: {e}")
|
52 |
return f"Error initializing agent: {e}", None
|
|
|
4 |
import pandas as pd
|
5 |
from dotenv import load_dotenv
|
6 |
|
7 |
+
from myagent import BasicAgent
|
8 |
+
#from multiagents import MultiAgent# Unused basic single agent
|
9 |
|
10 |
from phoenix.otel import register
|
11 |
from openinference.instrumentation.smolagents import SmolagentsInstrumentor
|
|
|
45 |
|
46 |
# 1. Instantiate Agent
|
47 |
try:
|
48 |
+
agent = BasicAgent()
|
49 |
+
#agent = MultiAgent()
|
50 |
except Exception as e:
|
51 |
print(f"Error instantiating agent: {e}")
|
52 |
return f"Error initializing agent: {e}", None
|