secret added like add secret name HF_TOKEN value <justTheTokenValue>
Browse files
app.py
CHANGED
@@ -90,9 +90,9 @@ final_answer = FinalAnswerTool()
|
|
90 |
model = HfApiModel(
|
91 |
max_tokens=2096,
|
92 |
temperature=0.5,
|
93 |
-
model_id='microsoft/Phi-4-mini-instruct',
|
94 |
-
api_token=os.environ.get("HF_TOKEN"),
|
95 |
-
|
96 |
custom_role_conversions=None
|
97 |
)
|
98 |
|
|
|
90 |
model = HfApiModel(
|
91 |
max_tokens=2096,
|
92 |
temperature=0.5,
|
93 |
+
#model_id='microsoft/Phi-4-mini-instruct',
|
94 |
+
#not needed if secret added HF_TOKEN and then just api keyy is value api_token=os.environ.get("HF_TOKEN"),
|
95 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
96 |
custom_role_conversions=None
|
97 |
)
|
98 |
|