Krishna2408 commited on
Commit
be95c57
·
verified ·
1 Parent(s): bc93aa3

Update app.py

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