hzli commited on
Commit
5ad1d52
·
verified ·
1 Parent(s): 8fd2080

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,8 +6,7 @@ import yaml
6
  from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
- import os
10
- print(os.getenv('HF_TOKEN'))
11
 
12
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
13
  @tool
@@ -65,7 +64,7 @@ print(prompt_templates)
65
 
66
  agent = CodeAgent(
67
  model=model,
68
- tools=[get_current_time_in_timezone,final_answer], ## add your tools here (don't remove final answer)
69
  max_steps=6,
70
  verbosity_level=1,
71
  grammar=None,
 
6
  from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
+
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
 
64
 
65
  agent = CodeAgent(
66
  model=model,
67
+ tools=[image_generation_tool,final_answer], ## add your tools here (don't remove final answer)
68
  max_steps=6,
69
  verbosity_level=1,
70
  grammar=None,