Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,6 +20,11 @@ hub_stats_tool = HubStatsTool()
|
|
| 20 |
# Load the guest dataset and initialize the guest info tool
|
| 21 |
guest_tool = load_guest_dataset()
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
# Create Alfred with all the tools
|
| 24 |
alfred = CodeAgent(
|
| 25 |
tools=[guest_tool, weather_info_tool, hub_stats_tool, search_tool],
|
|
|
|
| 20 |
# Load the guest dataset and initialize the guest info tool
|
| 21 |
guest_tool = load_guest_dataset()
|
| 22 |
|
| 23 |
+
# TEST IMMEDIATELY - BEFORE creating Alfred
|
| 24 |
+
print("\n🧪 TESTING GUEST TOOL DIRECTLY...")
|
| 25 |
+
test_query = "Lady Ada Lovelace"
|
| 26 |
+
print(f"Query: '{test_query}'")
|
| 27 |
+
|
| 28 |
# Create Alfred with all the tools
|
| 29 |
alfred = CodeAgent(
|
| 30 |
tools=[guest_tool, weather_info_tool, hub_stats_tool, search_tool],
|