pratikshahp commited on
Commit
0e91cc6
·
verified ·
1 Parent(s): 8214aa0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def analyze_employee(employee_name, strategy_name):
37
  agent.task = task
38
 
39
  # Execute the task using the selected strategy
40
- return agent.execute()
41
  except Exception as e:
42
  return str(e)
43
 
 
37
  agent.task = task
38
 
39
  # Execute the task using the selected strategy
40
+ return agent.execute(task)
41
  except Exception as e:
42
  return str(e)
43