ra9hu commited on
Commit
63f025d
·
verified ·
1 Parent(s): bb80862

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -57,13 +57,13 @@ final_answer = FinalAnswerTool()
57
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
58
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
59
 
60
- # model = HfApiModel(
61
- # max_tokens=2096,
62
- # temperature=0.5,
63
- # model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
64
- # custom_role_conversions=None,
65
- # )
66
- model = TransformersModel()
67
 
68
 
69
  # Import tool from Hub
 
57
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
58
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
59
 
60
+ model = HfApiModel(
61
+ max_tokens=2096,
62
+ temperature=0.5,
63
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
64
+ custom_role_conversions=None,
65
+ )
66
+ # model = TransformersModel()
67
 
68
 
69
  # Import tool from Hub