Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines464748495051525354555645 unmodified lines# 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:# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'model = HfApiModel(max_tokens=2096,temperature=0.5,model_id="Qwen/Qwen2.5-Coder-32B-Instruct",token=os.getenv("HF_TOKEN"),custom_role_conversions=None,)45 unmodified lines4647484950515253545556575845 unmodified lines# 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:# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'hf_token = (os.getenv("HF_TOKEN") or "").strip(" '\"\n\r\t") or Nonemodel = HfApiModel(max_tokens=2096,temperature=0.5,model_id="Qwen/Qwen2.5-Coder-32B-Instruct",token=hf_token,custom_role_conversions=None,)
app.py+3-1