Skip to content

运行openapi.py #687

@Yxj-study

Description

@Yxj-study

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions