Zaur6100 commited on
Commit
9e701f9
·
verified ·
1 Parent(s): 9f67c43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -20,8 +20,6 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
20
 
21
  return "What magic will you build ?"
22
 
23
- @tool
24
- search_tool = DuckDuckGoSearchTool()
25
 
26
  @tool
27
  def get_current_time_in_timezone(timezone: str) -> str:
@@ -51,7 +49,7 @@ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may
51
  custom_role_conversions=None,
52
  )
53
 
54
-
55
  # Import tool from Hub
56
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
57
 
 
20
 
21
  return "What magic will you build ?"
22
 
 
 
23
 
24
  @tool
25
  def get_current_time_in_timezone(timezone: str) -> str:
 
49
  custom_role_conversions=None,
50
  )
51
 
52
+ search_tool = DuckDuckGoSearchTool()
53
  # Import tool from Hub
54
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
55