Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines464748495051525354535556575845 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 None
model = HfApiModel( max_tokens=2096, temperature=0.5, model_id="Qwen/Qwen2.5-Coder-32B-Instruct", token=os.getenv("HF_TOKEN"), token=hf_token, custom_role_conversions=None,)
app.py+3-1