Commit Graph

14 Commits

Author SHA1 Message Date
Saifeddine ALOUI
438e2be7cb
Merge pull request #51 from ParisNeo/flask_sse
Multimodel is working
2023-04-08 19:57:12 +02:00
ParisNeo
0118dc23e4 Now installing the model is optional 2023-04-08 19:26:05 +02:00
Saifeddine ALOUI
70c076f180
Bug fix in install.bat
There were a . that should be changed to (
2023-04-08 13:30:41 +02:00
ParisNeo
88c7f68a93 Repared windows issues 2023-04-08 12:25:40 +02:00
arroyoquiel
6af9d54a47
Fancier [Y/N/B]
Fancier [Y/N/B], does not require for you to press the letter and then enter, and also asks you if you want to download the model instead of downloading it automatically if you don't have it.

Pressing B lets you open the link in the browser for a faster download because most browsers support multi-segment downloads. With Invoke-WebRequest it would take me ~30 minutes to download with a 200Mbps speed.

Also lets you retry the download if failed or disconnected.
2023-04-07 05:40:08 -06:00
arroyoquiel
701f28d7d9
Resolved model download error
If previously there were a "models" folder, it would just close the install.bat window and wouldn't continue, so I removed the "else ()" and also added a "IF NOT EXIST models/gpt4all-lora-quantized-ggml.bin" if the user already had the model manually downloaded

Also added a (y/n) choice
2023-04-07 02:37:57 -06:00
arroyoquiel
e11128ba73
Resolved model download error
If previously there were a "models" folder, it would just close the install.bat window and wouldn't continue, so I removed the "else ()" and added a "IF NOT EXIST models/gpt4all-lora-quantized-ggml.bin" if the user already had the model manually downloaded
2023-04-07 01:47:43 -06:00
arroyoquiel
1b01a96ccc
Resolved installation error
Changed to "%ERRORLEVEL%" because ".ERRORLEVEL." is not a valid syntax, this should fix the "Failed to install required packages. Please check your internet connection and try again. Press any key to continue . . ." error despite the requirements being installed correctly.
2023-04-07 01:15:54 -06:00
Saifeddine ALOUI
07ba3c564a
Now the models folder is checked before downloading
If the models folder does not exist create it
2023-04-07 09:07:59 +02:00
arroyoquiel
8a22bc69e6
Update install.bat
The current code assumes that the models directory exists, but this may not always be the case. If the models directory does not exist, the Invoke-WebRequest command fails with a DirectoryNotFoundException error.
2023-04-07 00:23:14 -06:00
ParisNeo
258c43c5dd Moving stuff from ParisNeo to nomic-ai 2023-04-06 23:26:42 +02:00
ParisNeo
e83029240a Upgraded batch file 2023-04-06 22:16:52 +02:00
ParisNeo
864c5769e9 Upgraded install batch files 2023-04-06 22:07:20 +02:00
ParisNeo
dfaf61e0ac Initial commit 2023-04-06 21:12:49 +02:00