Commit Graph

14 Commits

Author SHA1 Message Date
Aaron Miller
d1c69e8234 download: don't read whole file into ram to md5 it
we go to the trouble of using a tempfile and then reintroduce
a case of reading the whole file into ram again?
2023-04-26 22:14:21 -04:00
Aaron Miller
1f371be395 download: atomically move tempfile when possible
should save unnecessary time and I/O and eliminate the possibility
of the file being improperly truncated when the temp file is on
the same filesystem as the destination path
2023-04-26 22:14:21 -04:00
Adam Treat
34b7075517 Omit the debug stmt 2023-04-25 16:31:26 -04:00
Aaron Miller
aa20bafc91 new settings (model path, repeat penalty) w/ tabs 2023-04-25 16:24:55 -04:00
Adam Treat
ac9d9b9476 Add debugging code for ssl errors. 2023-04-24 17:52:19 -04:00
Adam Treat
2a8b126920 Always download to a local directory outside of the binary directory otherwise
models will be deleted when updates occur. Update version.
2023-04-24 11:31:41 -04:00
Adam Treat
1e60c5954a Workaround windows *sigh* because it wants to be different. 2023-04-24 09:07:28 -04:00
Adam Treat
243268b59a Disable ssl handshake for now. 2023-04-24 00:05:06 -04:00
Adam Treat
73f11a9ce2 Ssl handshake experiment. 2023-04-24 00:03:01 -04:00
Adam Treat
a1446e0fa2 Fix example json. 2023-04-23 23:54:49 -04:00
Adam Treat
35e7503571 Make the download use a temp file to save ram and make it threaded. 2023-04-23 19:43:20 -04:00
Adam Treat
29685b3eab Provide a non-priviledged place for model downloads when exe is installed to root. 2023-04-23 11:28:17 -04:00
Adam Treat
33beec0cdd Display filesize info in the model downloader. 2023-04-20 09:32:51 -04:00
Adam Treat
169afbdc80 Add a new model download feature. 2023-04-18 21:10:06 -04:00