banner
Geek

Geek

🧠在家居士 | 🥦素食者 | 🏃🏻马拉松爱好者 | 📡AI降临派 | 过🪜技术资深学者 | 🤖科技狂 | 📤更新狂🆅 https://www.igeekbb.com/
twitter
github

Free local deployment of GPT3.5 and GPT4

NameProject Address
gpt 4 freehttps://github.com/xtekky/gpt4free

Official Introduction#

Decentralized AI industry, providing free GPT-4/3.5 scripts through several reverse-engineered APIs (poe.com, phind.com, chat.openai.com, etc.).

Online Access#

https://chat.chatbot.sex/chat includes gpt-4, web access, and DAN models similar to gpt-jailbreak.

CleanShot 2023-04-22 at 21.30.54@2x

Local Deployment#

Download Code Package#

Open xtekky/chatgpt-clone

Download the compressed package and unzip it.

CleanShot 2023-04-22 at 21.38.29@2x

Create a Virtual Environment#

First, open the terminal, go to the folder where the package was unzipped, and run the following command:

python3 -m venv myenv

Activate the Virtual Environment#

source myenv/bin/activate

Update pip#

If prompted to update

pip install --upgrade pip

Install flask#

(Requires prosperity)

 pip install flask

Install requests#

(Requires prosperity)

 pip install requests

Run the script#

python3 run.py

CleanShot 2023-04-22 at 21.59.52@2x


Open http://127.0.0.1:1337
(Requires prosperity)
CleanShot 2023-04-22 at 21.58.57@2x

CleanShot 2023-04-22 at 21.50.22@2x


Please cherish and use...

Updated on April 23rd: It has been used up, let's observe again...

image

Install python3#

You can try reinstalling pip 3 to ensure it is installed correctly. Enter the following command in the terminal to uninstall the old version of pip 3:

sudo apt-get remove python3-pip

Then install the latest version of pip 3 with the following command:

sudo apt-get update
sudo apt-get install python3-pip

If pip 3 has been successfully installed, you can verify it by entering the following command:

pip3 --version

If you still can't find pip 3, try manually installing it with the following command:

sudo apt-get install python3-setuptools
sudo easy_install3 pip

Manually install pip 3 and add it to the system path. You should now be able to use the pip 3 command in the terminal.

  1. Open the terminal and enter the following command:
which pip3
This will output the installation path of pip, for example:
/usr/local/bin/pip3
  1. Add the installation path of pip to the system's environment variables. You can do this by editing your bashrc file. Enter the following command in the terminal:

echo 'export PATH="/path/to/python/bin:$PATH"' >> ~/.bashrc

Note that you need to replace "/path/to/python/bin" in the above command with the actual installation path of Python.

  1. Reload the bashrc file to make the changes take effect:
source ~/.bashrc
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.