Saturday, July 22, 2023

Tutorial to Install ShortGPT on Amazon Linux

 This video shows process to install ShortGPT on Amazon Linux, and also shares the demo. ShortGPT enables you to rapidly produce, manage, and deliver content using AI and automation.





Commands to Install ShortGPT:

Step 1:

yum install ImageMagick -y 

sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml


Step 2:

cd /usr/local/bin

mkdir ffmpeg && cd ffmpeg

wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz

tar -xf ffmpeg-release-amd64-static.tar.xz

cp -a /usr/local/bin/ffmpeg/ffmpeg-6.0-amd64-static/. /usr/local/bin/ffmpeg/

./ffmpeg -version


Step 3:

git clone https://github.com/RayVentura/ShortGPT.git

cd Short 

pip install -r requirements.txt

python runShortGPT.py


Step 4:

After running the script, a Gradio interface should open at your local host on port 31415 (http://localhost:31415).


No comments: