运行openapi.py
Author: Yxj-studyCreated Mar 20, 2025Updated Mar 20, 2025
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
在运行openapi.py的时候,会出现 “”该网页无法正常运作 0.0.0.0 目前无法处理此请求。 HTTP ERROR 502“” 这样的错误,我该怎么解决呢,我想看一下 OpenAI服务接口制作方法,但是执行好像有一点问题
Expected Behavior
No response
Steps To Reproduce
运行openai_api.py文件,但是不能正确的访问8080端口。更换端口依旧发生错误。
Environment
- OS:Windows
- Python:3.11
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) : 是Anything else?
No response
Source: zai-org/ChatGLM2-6B