Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines464748494950515253545545 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 Noneraw_token = (os.getenv("HF_TOKEN") or "").strip(" '\"\n\r\t")hf_token = raw_token if raw_token.startswith("hf_") else Noneif hf_token: os.environ["HF_TOKEN"] = hf_token
model = HfApiModel( max_tokens=2096,app.py+4-1