mobrobro commited on
Commit
f1ff56d
·
verified ·
1 Parent(s): eddcd0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -61,13 +61,12 @@ final_answer = FinalAnswerTool()
61
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
62
 
63
  model = HfApiModel(
64
- max_tokens=2096,
65
- temperature=0.5,
66
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
67
- custom_role_conversions=None,
68
  )
69
 
70
-
71
  # Import tool from Hub
72
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
73
 
 
61
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
62
 
63
  model = HfApiModel(
64
+ max_tokens=2096,
65
+ temperature=0.5,
66
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', # Using the alternative endpoint
67
+ custom_role_conversions=None,
68
  )
69
 
 
70
  # Import tool from Hub
71
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
72