Skip to content

I've figured out how to install animatediff official on android XD I almost Gave Up!!

Notifications You must be signed in to change notification settings

KintCark/Animatediff-Android-Termux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 

Repository files navigation

put --break-system-packages at end of each pip installation, ffmpeg installed a newer version I tried changing it but it didn't work so u can't install decoder I Found another text to video zero webui but it also requires decoder so if someone knows how to downgrade ffmpeg please let me know asap

First copy all then paste in termux

pkg update && pkg upgrade -y && termux-setup-storage && pkg install wget -y && pkg install git -y && pkg install proot -y && cd ~ && git clone https://github.com/MFDGaming/ubuntu-in-termux.git && cd ubuntu-in-termux && chmod +x ubuntu.sh && ./ubuntu.sh -y && ./startubuntu.sh

Second copy all then paste in termux

apt update && apt upgrade -y && apt-get install curl git gcc make build-essential python3 python3-dev python3-distutils python3-pip python3-venv python-is-python3 -y && apt dist-upgrade -y && apt install wget && apt-get install libgl1 libglib2.0-0 libsm6 libxrender1 libxext6 -y && apt-get install google-perftools && apt install libgoogle-perftools-dev && pip install moviepy==1.0.3 && apt-get install -y build-essential python3-dev python3-setuptools make cmake && apt-get install -y ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev && pip install accelerate

Install Decord

Third

git clone --recursive https://github.com/dmlc/decord

3.5>PRESS ENTER ON make!

cd decord mkdir build && cd build cmake .. -DUSE_CUDA=0 -DCMAKE_BUILD_TYPE=Release make

Forth

cd

Fith

cd decord

cd python

python setup.py install --user

Six

cd

then

git clone https://github.com/guoyww/AnimateDiff.git

Seventh

cd AnimateDiff

'Fix' the issue with Python running in PRoot

export ANDROID_DATA=anything

Eight

pip install torch

pip install diffusers[torch]==0.11.1

Ninth

pip install accelerate

Tenth

pip install -r requirements.txt

To Start AnimateDiff

python -u app.py

in order to use this repo u have to navigate to the animatediff folder then open app.py file in a text editor then change line 40 pretraind_sd to Jiali/stable-diffusion-1.5 then save.

About

I've figured out how to install animatediff official on android XD I almost Gave Up!!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published