Open Areebjaved26 opened 4 months ago
Hi @Areebjaved26 , good point, but I don't have wget-c in my environment, I assume it's some kind of add-on for wget. Maybe adding a space and using -c as a parameter would improve portability?
The pull request message is clearly generated by AI. I believe that wget-c
(as opposed to wget -c
) is made up.
Modified the download_models.sh script in the StableCascade repository on GitHub to enhance the downloading process by using the -c flag with wget. This modification allows wget to detect if files have already been partially or fully downloaded. In case of a partial download or if the file already exists, wget will resume the download from where it left off rather than re-downloading the entire file. This change ensures a more efficient and robust downloading experience, particularly for users with unreliable internet connections or who may have partially downloaded files.
By incorporating this change, users can now benefit from reduced download times and minimized data usage, as well as avoid potential frustration caused by interrupted downloads. This enhancement contributes to a smoother workflow for individuals utilizing the StableCascade models, promoting a more seamless experience when acquiring the necessary resources for their projects or research endeavors.