pt4free全能免费工具 是一位国外的大神,逆向了十多个支持ChatGPT的网站,将其汇总一处。使用 streamlit 做了一个简易的输入框,和文本输出展示。而且,使用python的包,开发者也可以将其嵌入到自己应用内。
https://github.com/xtekky/gpt4free
Setting up with Docker:
If you have Docker installed, you can easily set up and run the project without manually installing dependencies.
- First, ensure you have both Docker and Docker Compose installed.
Install Docker
Install Docker Compose - Clone the GitHub repo:
git clone https://github.com/xtekky/gpt4free.git - Navigate to the project directory:
cd gpt4free - Build the Docker image:
docker compose build
docker compose up - Your server will now be running at
http://localhost:1337
. You can interact with the API or run your tests as you would normally. - To stop the Docker containers, simply run:
docker compose down - Note
When using Docker, any changes you make to your local files will be reflected in the Docker container thanks to the volume mapping in thedocker-compose.yml
file. If you add or remove dependencies, however, you’ll need to rebuild the Docker image usingdocker compose build
.