Commit
·
8495750
1
Parent(s):
f8e3872
Fix agent class from BasicAgent to KeywordAgent
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
91 |
|
92 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
93 |
try:
|
94 |
-
agent =
|
95 |
except Exception as e:
|
96 |
print(f"Error instantiating agent: {e}")
|
97 |
return f"Error initializing agent: {e}", None
|
|
|
91 |
|
92 |
# 1. Instantiate Agent ( modify this part to create your agent)
|
93 |
try:
|
94 |
+
agent = KeywordAgent()
|
95 |
except Exception as e:
|
96 |
print(f"Error instantiating agent: {e}")
|
97 |
return f"Error initializing agent: {e}", None
|