mirror of
https://github.com/mudler/LocalAI.git
synced 2025-04-10 04:40:21 +00:00
docs: update model-gallery.md with correct gallery file (#2163)
* Update model-gallery.md with correct gallery file The readme points to a file that hasn't been updated in months so when there are announcements about new models, user's won't get them pointing to the old file. Point to the updated files instead. Signed-off-by: QuinnPiers <167640194+QuinnPiers@users.noreply.github.com> * Update model-gallery.md second pass with more understanding Signed-off-by: QuinnPiers <167640194+QuinnPiers@users.noreply.github.com> * Update model-gallery.md Signed-off-by: QuinnPiers <167640194+QuinnPiers@users.noreply.github.com> * Update model-gallery.md Signed-off-by: QuinnPiers <167640194+QuinnPiers@users.noreply.github.com> --------- Signed-off-by: QuinnPiers <167640194+QuinnPiers@users.noreply.github.com>
This commit is contained in:
parent
3179c019af
commit
1a0a6f60a7
@ -42,13 +42,13 @@ To enable the `model-gallery` repository you need to start `local-ai` with the `
|
||||
GALLERIES=[{"name":"<GALLERY_NAME>", "url":"<GALLERY_URL"}]
|
||||
```
|
||||
|
||||
For example, to enable the `model-gallery` repository, start `local-ai` with:
|
||||
|
||||
For example, to enable the `local-ai` repository, start `local-ai` with:
|
||||
```
|
||||
GALLERIES=[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}]
|
||||
GALLERIES=[{"name":"gallery", "url":"github:mudler/localai/gallery/index.yaml"}]
|
||||
```
|
||||
|
||||
where `github:go-skynet/model-gallery/index.yaml` will be expanded automatically to `https://raw.githubusercontent.com/go-skynet/model-gallery/main/index.yaml`.
|
||||
The string must be in this format `github:${org}/{repo}/{GALLERY_NAME}/${targetFile}`
|
||||
<br />where url is `github:mudler/localai/gallery/index.yaml` and name is localai
|
||||
<br />will format the values into a valid github url `https://raw.githubusercontent.com/mudler/LocalAI/master/gallery/index.yaml`
|
||||
|
||||
{{% alert note %}}
|
||||
|
||||
@ -60,7 +60,7 @@ As this feature is experimental, you need to run `local-ai` with a list of `GALL
|
||||
To enable the two repositories, start `LocalAI` with the `GALLERIES` environment variable:
|
||||
|
||||
```bash
|
||||
GALLERIES=[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]
|
||||
GALLERIES=[{"name":"gallery", "url":"github:mudler/localai/gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]
|
||||
```
|
||||
|
||||
If running with `docker-compose`, simply edit the `.env` file and uncomment the `GALLERIES` variable, and add the one you want to use.
|
||||
|
Loading…
x
Reference in New Issue
Block a user