alarv commited on
Commit
2eac07c
·
verified ·
1 Parent(s): 5527f0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -48,11 +48,9 @@ final_answer = FinalAnswerTool()
48
  # 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:
49
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
50
 
51
- model = HfApiModel(
52
- max_tokens=2096,
53
- temperature=0.5,
54
- model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
55
- custom_role_conversions=None,
56
  )
57
 
58
 
 
48
  # 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:
49
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
50
 
51
+ model = OpenAIServerModel(
52
+ model_id="mistral-7b",
53
+ api_base="https://mistral.jaqpot.org/v1",
 
 
54
  )
55
 
56