Deploy ChatPPT locally

1. What is ChatPPT

ChatPPT is powered by chatgpt, which can help you generate PPT/slideshow. Support Chinese and English output.

2. Github address

https://github.com/huimi24/chatppt

3. Install Miniconda3

Download the Conda install script,

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

Run the install script,

bash Miniconda3-latest-Linux-x86_64.sh

Follow the prompts. When prompted whether to initialize Conda, enter "yes",

insert image description here

Once the installation is complete, close the current terminal and open a new one, this will activate Conda,

sudo su - root

Update Conda to the latest version,

conda update conda

insert image description here
insert image description here

4. Create a virtual environment

conda create -n chatppt python==3.10.6 -y
conda activate chatppt

5. Install ChatPPT

git clone --recursive https://github.com/huimi24/chatppt; cd chatppt
pip install -r requirements

6. Run ChatPPT

python chatppt.py -t "什么是GPT" -k <your api key> -p 5 -l cn

end!

Guess you like

Origin blog.csdn.net/engchina/article/details/131626045