mohammadKa143 commited on
Commit
586f611
·
verified ·
1 Parent(s): 07a527b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
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