Commit Graph

12 Commits (280ad04c632f374441253aaf04c95cf5b7ec717b)

Author SHA1 Message Date
Aaron Miller f487118007 download: make model downloads resumable
* save files as `incomplete-{filename}` in the dest folder
* rename into place after hash is confirmed or delete if hash is bad
* resume downloads using http `range`
* if DL is resumed from a different app session rewind a bit -
  this is to deal with the case where the file size changes before
  the content is fully flushed out
* flush dest file at end of readyRead, this mitigates the above
  and provides backpressure on the download if the destination disk
  is slower than the network connection
1 year ago
Adam Treat db094c5b92 More extensive usage stats to help diagnose errors and problems in the ui. 1 year ago
Adam Treat 464ba49ce6 Add a requires field for the models.json for future proofing. 1 year ago
Adam Treat 812431f78d New startup dialog features. 1 year ago
Adam Treat 6f94c7e84b Provide a description and make the downloader cleaner and prettier. 1 year ago
Aaron Miller aa20bafc91 new settings (model path, repeat penalty) w/ tabs 1 year ago
Adam Treat ac9d9b9476 Add debugging code for ssl errors. 1 year ago
Adam Treat 35e7503571 Make the download use a temp file to save ram and make it threaded. 1 year ago
Adam Treat 29685b3eab Provide a non-priviledged place for model downloads when exe is installed to root. 1 year ago
Adam Treat faf4c633e5 Minor cleanup. 1 year ago
Adam Treat 33beec0cdd Display filesize info in the model downloader. 1 year ago
Adam Treat 169afbdc80 Add a new model download feature. 1 year ago