person9601 commited on
Commit
828a2ea
·
verified ·
1 Parent(s): 9793db1

secret added like add secret name HF_TOKEN value <justTheTokenValue>

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- #model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
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