Spaces:
Running
request
sometimes gives an error message and fails to fetch downloadall files, cant select individual files either
This program is not suitable for downloading single files. Also, the original duplication function uses a hidden function on the HF side, so it doesn't matter what the file size is, but the download function is done on its own, so it can't handle files that are too large.
However, if it's any other error, it's an unknown bug, so I'd like to know the details. It would be easier if I knew which repo you were trying to duplicate.
As for single file downloads, I think it's possible to add them, as long as it's not a function that's impossible due to CPU space performance.
for example im trying to duplicate sulph/illustriousMerges it has 14 models but it only copies 7 models, half, then it gives an error, im trying to overwrite or update the whole folder but it hangs
Thank you. I'll try to verify it. If the error actually appears, there are many cases where the rest can be dealt with.
Edit:
If you want to copy the whole repo, the official HF one is faster. My version still works, but it has some quirks.
https://huggingface.co/spaces/huggingface-projects/repo_duplicator
I fixed the bug. It seems to have been fixed after changing the path where the download files are stored.π€
Edit:
I've modified it so that you can also specify files.
I don't think there are many places where you would use it though...
its working now, thank you very much, i will continue backing up safetensors models and loras with these tools, thank yo so much for the tools