Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,4 +67,12 @@ agent = CodeAgent(
|
|
67 |
)
|
68 |
|
69 |
|
70 |
-
GradioUI(agent).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
)
|
68 |
|
69 |
|
70 |
+
# GradioUI(agent).launch()
|
71 |
+
|
72 |
+
try:
|
73 |
+
result = agent.run("what is the weather in aleppo city in syria?") # Or another test message
|
74 |
+
print("Agent Result:", result)
|
75 |
+
except Exception as e:
|
76 |
+
print("An error occurred during agent run:", e)
|
77 |
+
import traceback
|
78 |
+
traceback.print_exc() # <--- This will print the full error
|