Ajeya95 commited on
Commit
ce4df27
·
verified ·
1 Parent(s): 4d48cb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -46,6 +46,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
46
 
47
 
48
  final_answer = FinalAnswerTool()
 
49
 
50
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
51
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
@@ -66,7 +67,7 @@ with open("prompts.yaml", 'r') as stream:
66
 
67
  agent = CodeAgent(
68
  model=model,
69
- tools=[final_answer], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
  grammar=None,
 
46
 
47
 
48
  final_answer = FinalAnswerTool()
49
+ animator=animewatcher()
50
 
51
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
52
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
67
 
68
  agent = CodeAgent(
69
  model=model,
70
+ tools=[final_answer,animator], ## add your tools here (don't remove final answer)
71
  max_steps=6,
72
  verbosity_level=1,
73
  grammar=None,