Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -371,8 +371,8 @@ final_answer = FinalAnswerTool()
|
|
371 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
372 |
|
373 |
model = OpenAIServerModel(
|
374 |
-
model_id=
|
375 |
-
api_base=
|
376 |
api_key="none",
|
377 |
max_tokens=2096,
|
378 |
temperature=0.5,
|
|
|
371 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
372 |
|
373 |
model = OpenAIServerModel(
|
374 |
+
model_id=os.environ["LLM_MODEL_ID"],
|
375 |
+
api_base=os.environ["LLM_API_BASE"],
|
376 |
api_key="none",
|
377 |
max_tokens=2096,
|
378 |
temperature=0.5,
|