Spaces:
Sleeping
Sleeping
Update app.py
Browse files45 unmodified lines4647484950515245 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,45 unmodified lines4647484950515253545545 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'raw_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_tokenmodel = HfApiModel(max_tokens=2096,
app.py+4-1