Open ardst2 opened 1 year ago
It's pretty easy
copy paste this in a new cell had a couple of other stuff in it but removed it since idk what extensions other people use
SadTalk = False # @param {type:'boolean'}
if SadTalk: !mkdir $sd_path/models/SadTalker/ !git clone https://github.com/Winfredy/SadTalker $sd_path/extensions/SadTalker !curl -Lo $sd_path/models/SadTalker/auido2exp_00300-model.pth https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/auido2exp_00300-model.pth !curl -Lo $sd_path/models/SadTalker/auido2pose_00140-model.pth https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/auido2pose_00140-model.pth !curl -Lo $sd_path/models/SadTalker/BFM_Fitting.zip https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/BFM_Fitting.zip !curl -Lo $sd_path/models/SadTalker/epoch_20.pth https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/epoch_20.pth !curl -Lo $sd_path/models/SadTalker/facevid2vid_00189-model.pth.tar https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/facevid2vid_00189-model.pth.tar !curl -Lo $sd_path/models/SadTalker/hub.zip https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/hub.zip !curl -Lo $sd_path/models/SadTalker/mapping_00109-model.pth.tar https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/mapping_00109-model.pth.tar !curl -Lo $sd_path/models/SadTalker/mapping_00229-model.pth.tar https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/mapping_00229-model.pth.tar !curl -Lo $sd_path/models/SadTalker/shape_predictor_68_face_landmarks.dat https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/shape_predictor_68_face_landmarks.dat !curl -Lo $sd_path/models/SadTalker/wav2lip.pth https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/wav2lip.pth !curl -Lo $sd_path/models/SadTalker/SadTalker-0.0.2.zip https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/SadTalker-0.0.2.zip !curl -Lo $sd_path/models/SadTalker/SadTalker-0.0.2.tar.gz https://github.com/Winfredy/SadTalker/releases/download/v0.0.2/SadTalker-0.0.2.tar.gz !SADTALKER_CHECKPOINTS="${sd_path}/models/SadTalker/" %cd /content/cagliostro-colab-ui/models/SadTalker !unzip /content/cagliostro-colab-ui/models/SadTalker/BFM_Fitting.zip !unzip /content/cagliostro-colab-ui/models/SadTalker/hub.zip
I can't because it needs complicated step to implement in the notebook.
Can you add Sadtalker extension please?, I add manually but didn't work.