shivroh commited on
Commit
2f5db4b
·
verified ·
1 Parent(s): fc6221e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def reverse_string(arg1:str)-> str: #it's import to specify the return type
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
  """A tool that searches the web
15
  Args:
16
- arg1: term to search the web with
17
  """
18
  arg1 = arg1[::-1]
19
  return arg1
@@ -46,11 +46,12 @@ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may
46
  custom_role_conversions=None,
47
  )
48
 
49
- duck_duck_go_search = DuckDuckGoSearchTool()
50
 
51
  # Import tool from Hub
52
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
53
 
 
 
54
  with open("prompts.yaml", 'r') as stream:
55
  prompt_templates = yaml.safe_load(stream)
56
 
 
13
  #Keep this format for the description / args / args description but feel free to modify the tool
14
  """A tool that searches the web
15
  Args:
16
+ arg1: string to be reversed
17
  """
18
  arg1 = arg1[::-1]
19
  return arg1
 
46
  custom_role_conversions=None,
47
  )
48
 
 
49
 
50
  # Import tool from Hub
51
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
52
 
53
+ duck_duck_go_search = DuckDuckGoSearchTool()
54
+
55
  with open("prompts.yaml", 'r') as stream:
56
  prompt_templates = yaml.safe_load(stream)
57