Spaces:
Sleeping
Sleeping
Bad import from agent.py corrected
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
-
|
7 |
|
8 |
# (Keep Constants as is)
|
9 |
# --- Constants ---
|
@@ -26,7 +26,7 @@ def run_test( profile: gr.OAuthProfile | None):
|
|
26 |
"""
|
27 |
# 1. Instantiate Agent
|
28 |
try:
|
29 |
-
agent =
|
30 |
except Exception as e:
|
31 |
print(f"Error instantiating agent: {e}")
|
32 |
return f"Error initializing agent: {e}", None
|
|
|
3 |
import requests
|
4 |
import inspect
|
5 |
import pandas as pd
|
6 |
+
from agent import QAgent
|
7 |
|
8 |
# (Keep Constants as is)
|
9 |
# --- Constants ---
|
|
|
26 |
"""
|
27 |
# 1. Instantiate Agent
|
28 |
try:
|
29 |
+
agent = QAgent()
|
30 |
except Exception as e:
|
31 |
print(f"Error instantiating agent: {e}")
|
32 |
return f"Error initializing agent: {e}", None
|