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

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2328760190 authored and Nekohy committed Nov 3, 2024
1 parent 3130756 commit e5fdc2f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion 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)~~

[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

0 comments on commit e5fdc2f

Please sign in to comment.