gpt4free 大杀器

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.

  1. First, ensure you have both Docker and Docker Compose installed.
    Install Docker
    Install Docker Compose
  2. Clone the GitHub repo:
    git clone https://github.com/xtekky/gpt4free.git
  3. Navigate to the project directory:
    cd gpt4free
  4. Build the Docker image:
    docker compose build
    docker compose up
  5. Your server will now be running at http://localhost:1337. You can interact with the API or run your tests as you would normally.
  6. To stop the Docker containers, simply run:
    docker compose down
  7. 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 the docker-compose.yml file. If you add or remove dependencies, however, you’ll need to rebuild the Docker image using docker compose build.

发表回复