rawc0der commited on
Commit
4617591
·
verified ·
1 Parent(s): b633046

Update app.py

Browse files

use different endpoint model_id

Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -46,11 +46,12 @@ login()
46
 
47
  # 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:
48
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
49
-
50
  model = HfApiModel(
51
  max_tokens=2096,
52
  temperature=0.5,
53
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
 
54
  custom_role_conversions=None,
55
  )
56
 
 
46
 
47
  # 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:
48
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
49
+ # model_id='Qwen/Qwen2.5-Coder-32B-Instruct'
50
  model = HfApiModel(
51
  max_tokens=2096,
52
  temperature=0.5,
53
+ # model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
54
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
55
  custom_role_conversions=None,
56
  )
57