Download link not working?

#14
by Tsynk60 - opened

I'm trying to curl the file directly into the unet directory and whatever is downloading is only a 1.2kb file and not the full model. As I'm typing I'm wondering if it's compressed....

Owner

That link links to the download page on huggingface. You have to curl this https://huggingface.co/ostris/Flex.2-preview/resolve/main/Flex.2-preview.safetensors

ostris changed discussion status to closed

Yes I'm aware. I right clicked the download button next to the file and selected copy link, when I curl it it downloads a 1.2k file in less than a seconds, and I was expecting to be downloading a 16gb file. when I send "ls -lh" in the unet directory this is the info for the file I get:

-rw-rw-r-- 1 myusername myusername 1.2K May 3 17:38 Flex.2-preview.safetensors

oh wait, just read the link all the way and noticed it's different, thanks,

Hey, actually, I just tried that link and the same thing happened. Download lasted less than a second and the file is only 1.2k. I'm going to try and install huggingface cli.

huggingface-cli was the solution.

Sign up or log in to comment