zphudzz commited on
Commit
57240d6
·
verified ·
1 Parent(s): 7d71548

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,8 +43,8 @@ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
43
  model = HfApiModel(
44
  max_tokens=2096,
45
  temperature=0.5,
46
- #model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
47
- model_id=model_id,
48
  custom_role_conversions=None,
49
  )
50
 
@@ -57,7 +57,7 @@ with open("prompts.yaml", 'r') as stream:
57
 
58
  agent = CodeAgent(
59
  model=model,
60
- tools=[final_answer, get_current_time_in_timezone, duckduckgo_search, image_generation_tool], ## add your tools here (don't remove final answer)
61
  max_steps=6,
62
  verbosity_level=1,
63
  grammar=None,
 
43
  model = HfApiModel(
44
  max_tokens=2096,
45
  temperature=0.5,
46
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
47
+ # model_id=model_id,
48
  custom_role_conversions=None,
49
  )
50
 
 
57
 
58
  agent = CodeAgent(
59
  model=model,
60
+ tools=[final_answer, get_current_time_in_timezone, duckduckgo_search], ## add your tools here (don't remove final answer)
61
  max_steps=6,
62
  verbosity_level=1,
63
  grammar=None,