aorumbayev / autogpt4all

🛠️ User-friendly bash script for setting up and configuring your LocalAI server with the GPT4All for free! 💸
https://aorumbayev.github.io/autogpt4all/
MIT License
452 stars 67 forks source link

LocalAI doesnt have ./local-ai #2

Closed apoordev closed 1 year ago

apoordev commented 1 year ago

It looks like the LocalAI repo has removed the ./local-ai file and seems to have replaced it with just building the repo in docker. I got the script working after just manually building the LocalAI docker container.

Love the script btw!

aorumbayev commented 1 year ago

It looks like the LocalAI repo has removed the ./local-ai file and seems to have replaced it with just building the repo in docker. I got the script working after just manually building the LocalAI docker container.

Love the script btw!

I believe the local-ai is not directory but an executable that is build after make build is executed in localai folder. Just retested with latest on main branch on localai and still works. Could be os specific as well, still works on linux and mac os. Closing issue for now as im unable to replicate the issue.

apoordev commented 1 year ago

Ooops yup out are correct, I'm on Linux and I didn't build the LocalAI repo so that explains not having the file.

Thanks!

waplay commented 1 year ago

I have the same problem on Linux (Ubuntu): after executing the script, ./local-ai is missing in the LocalAI folder. What should I do to fix this?

apoordev commented 1 year ago

Build the LocalAI repo locally using 'make build' or build the docker container with the instructions in the LocalAI readme. I didn't have luck using make build on fedora but I also didn't try very hard and preferred docker anyway.

waplay commented 1 year ago

Build the LocalAI repo locally using 'make build' or build the docker container with the instructions in the LocalAI readme. I didn't have luck using make build on fedora but I also didn't try very hard and preferred docker anyway.

Ok, thank you!