Spaces:
Running
Running
Update app.py
Browse files
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 =
|
52 |
-
|
53 |
-
|
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 |
|