gimmy256 commited on
Commit
788a76a
·
verified ·
1 Parent(s): 8c4ca4e

Update app.py

Browse files

fixed haiku search tool error

Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -43,6 +43,14 @@ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may
43
  custom_role_conversions=None,
44
  )
45
 
 
 
 
 
 
 
 
 
46
 
47
  # Import tool from Hub
48
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
 
43
  custom_role_conversions=None,
44
  )
45
 
46
+ haiku_answer = HaikuAnswerTool()
47
+ mode = HfApiModel(
48
+ max_tokens=2096,
49
+ temperature=0.5,
50
+ model_id='Quen/Quen2.5-Coder-32B-Instruct',
51
+ custom_role_conversations=True,
52
+ )
53
+
54
 
55
  # Import tool from Hub
56
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)