fast-stable-diffusion icon indicating copy to clipboard operation
fast-stable-diffusion copied to clipboard

gdown doesn't work now

Open Pasha49 opened this issue 2 years ago • 9 comments

Gdown has broken now and cannot download the model with Google Drive. https://github.com/wkentaro/gdown/issues/222

Maybe add a spare option? https://medium.com/@acpanjan/download-google-drive-files-using-wget-3c2c025a8b99

Pasha49 avatar Nov 24 '22 06:11 Pasha49

Thanks for the heads up, I'll look into it

TheLastBen avatar Nov 24 '22 07:11 TheLastBen

literally as i post a pull request where i remove a git download link and torrent haha

nawnie avatar Nov 24 '22 07:11 nawnie

same

younyokel avatar Nov 25 '22 02:11 younyokel

This seems to be happening with any version of Dreambooth. I dont think gdown is working on Googles end.

DaxRedding avatar Nov 25 '22 02:11 DaxRedding

You can share folder to gmail account, then make link to folder.

Pasha49 avatar Nov 25 '22 09:11 Pasha49

!FILEID='FileID' &&
FILENAME='NewFileNameYouWant' &&
FILEDEST="https://docs.google.com/uc?export=download&id=${FILEID}" &&
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate ${FILEDEST} -O- | sed -rn 's/.confirm=([0-9A-Za-z_]+)./\1\n/p')&id=${FILEID}" -O $FILENAME && rm -rf /tmp/cookies.txt

For jupiterlab just replace those two first lines FileID and NewFileNameYouWant for what you need and it's seems to be working here. This solution is not mine, i just copied from "Rex Low" user

lucaswobeto avatar Nov 26 '22 15:11 lucaswobeto

I think gdown works now

TheLastBen avatar Nov 26 '22 15:11 TheLastBen

I think gdown works now

yes

younyokel avatar Nov 26 '22 15:11 younyokel

gdown is not working for me, it says i'm not public sharing the file (but i'm). idk why, but wget works fine.

lucaswobeto avatar Nov 26 '22 16:11 lucaswobeto