Skip to content
This repository was archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekohy committed Nov 3, 2024
2 parents b17f0b6 + e5fdc2f commit 9a2134d
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,25 @@
# 免责声明
本项目仅供学习交流使用,不得用于商业用途,如有侵权请联系删除
# DEMO站
**请善待公共服务,尽量自己搭建**
**请善待公共服务,尽量自己搭建(不要搞黄,demo会崩溃)**

[Vercel](https://pieces.nekomoon.cc)
~~[Vercel](https://pieces.nekomoon.cc)~~

[Cloudflare worker反代koyeb](https://pieces.464888.xyz)

[HuggingFace](https://chb2024-pieces-os.hf.space/hf)
API_PREFIX环境变量为/hf

# 一键部署
[![Deploy on Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Nekohy/pieces-os&project-name=Pieces-OS&repository-name=Pieces-OS)

[![Deploy to Koyeb](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/deploy?name=pieces-os&type=docker&image=chb2024%2Fpieces-os%3Alatest&regions=was&env%5B%5D=&ports=8787%3Bhttp%3B%2F)

[复制huggingface空间](https://huggingface.co/spaces/chb2024/pieces-os?duplicate=true&visibility=public)
注意事项
抱脸会阻止/v1的请求,设置API_PREFIX为/hf或任意/+其他字母或数字组合即可,使用时在原先的请求点上添加即可,例如https://xxx.hf.space/v1/models变成https://xxx.hf.space/hf/v1/models
如果不能复制空间,就把原空间文件全部下载,新建一个public空间,删除之前的并重新上传并重启即可

请注意下列环境变量!私人使用请添加API_KEY!

cloudflare work反代koyeb
Expand Down Expand Up @@ -214,6 +223,3 @@ docker rm pieces-os
```

请确保在使用服务时使用正确的 API_KEY 进行认证。

# 碎碎念
我怎么把自己的提交邮箱写错了呢(这些提交都不算在我这个号头上(QWQ

0 comments on commit 9a2134d

Please sign in to comment.