THUDM/ChatGLM-6B

[BUG/Help] 调用API时报错405:Method Not Allowed

AlyssaZyt opened this issue · 0 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

调用API时报错:405 Method Not Allowed 。从服务器进入url页面后,呈现结果如下:
{
"detail": "Method Not Allowed"
}

Expected Behavior

No response

Steps To Reproduce

  1. I have already installed all the dependencies in README.md.
  2. python api.py
  3. run
  4. see this error

Environment

- OS:20.04
- Python:3.8
- Transformers:4。26.1
- PyTorch:1.12
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :True

Anything else?

No response