soaljack commited on
Commit
8b2aa52
·
verified ·
1 Parent(s): 1e0b078

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -52,6 +52,13 @@ model = HfApiModel(
52
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
53
  )
54
 
 
 
 
 
 
 
 
55
  with open("prompts.yaml", 'r') as stream:
56
  prompt_templates = yaml.safe_load(stream)
57
 
 
52
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
53
  )
54
 
55
+ # Define tools list
56
+ tools = {
57
+ "final_answer": FinalAnswerTool(),
58
+ "is_prime": is_prime,
59
+ "get_current_time_in_timezone": get_current_time_in_timezone
60
+ }
61
+
62
  with open("prompts.yaml", 'r') as stream:
63
  prompt_templates = yaml.safe_load(stream)
64