tapanpatro commited on
Commit
b721784
·
verified ·
1 Parent(s): cc79f8c

Update app.py

Browse files

model might be overloaded changed model

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -52,10 +52,11 @@ final_answer = FinalAnswerTool()
52
  model = HfApiModel(
53
  max_tokens=2096,
54
  temperature=0.5,
55
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
56
  custom_role_conversions=None,
57
  )
58
 
 
59
 
60
  # Import tool from Hub
61
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
 
52
  model = HfApiModel(
53
  max_tokens=2096,
54
  temperature=0.5,
55
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
56
  custom_role_conversions=None,
57
  )
58
 
59
+ # Qwen/Qwen2.5-Coder-32B-Instruct
60
 
61
  # Import tool from Hub
62
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)