Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
AlyssaZyt opened this issue Mar 29, 2024 · 0 comments
Open
1 task done

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

AlyssaZyt opened this issue Mar 29, 2024 · 0 comments

Comments

@AlyssaZyt
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant