【Share】Have you used free GPT4 yet?

Hello, everyone, I am Muyixiang~

Now OpenAI's ChatGPT4 needs to be upgraded to a plus membership. For domestic users, not only magic, but also a credit card from an external network is required to open a membership, which is really troublesome.

Recently, Muyixiang discovered a project. It is a computer professional foreign boy on GitHub who likes reverse engineering. He uses the strategy of crawler reverse engineering to deceive the website and OpenAI, so that he can use ChatGPT4 for free. The project name is GPT4free.

Let's take a look~

Introduction

As far as Mu Yixiang knows, this project has been warned by OpenAI, and it may be removed from the shelves in the future. Major websites will also adopt stricter anti-crawler strategies. Therefore, this project is only a temporary product and will definitely be removed from the shelves in the future. Or it may fail, use it and cherish it.

Project address : https://github.com/xtekky/gpt4free

Download the project and install dependencies

Create a Python virtual environment, install the corresponding dependencies after activation, so that even if you move to another computer, you will not report an error

## python -m venv venv.\venv\Scripts\activate.bat
pip install -r requirements.txt

run project

1. Copy the streamlit_app.py file in the gui directory to the root directory

2. Use streamlit to start this streamlit_app.py

streamlit run streamlit_app.py

3. After that, a webpage will pop up, and you can enter the corresponding content on it.

may have problems

When running for the first time, there is a high probability that an error will be reported: Unable to fetch the response, Please try again.

The reason is because the project cannot access the outside world

result = you.Completion.create(prompt=question,proxy='127.0.0.1:7890')

Open streamlit_app.py, modify the following code in the get_answer function to add a proxy

OK, get it done, and then re-run this command again!

– END –

Alright, that’s all for today’s sharing~

Guess you like

Origin blog.csdn.net/qq_44794321/article/details/130747386