Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebUI Filter Tag issue #2619

Open
FrankDaze opened this issue Jun 21, 2024 · 6 comments
Open

WebUI Filter Tag issue #2619

FrankDaze opened this issue Jun 21, 2024 · 6 comments
Labels
bug Something isn't working unconfirmed

Comments

@FrankDaze
Copy link

Hi,

I'm using v2.17.1 on my linux server and if I enter the WebUi with /browser, I see >19k of filter tags, which makes it impossible to use the page for a while.

image

Best
Frank

@FrankDaze FrankDaze added bug Something isn't working unconfirmed labels Jun 21, 2024
@mudler
Copy link
Owner

mudler commented Jun 21, 2024

@FrankDaze are you adding/having a separate repository? where all these tags are coming from?

@FrankDaze
Copy link
Author

FrankDaze commented Jun 21, 2024

@mudler I have only this setting in the env file:
GALLERIES=[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}, {"url": "github:go-skynet/model-gallery/huggingface.yaml","name":"huggingface"}]

@heralight
Copy link

heralight commented Jun 21, 2024

Hi,
Same problem, same configuration, the '/browse/' completely freeze the browser.

If I delete huggingface repository, it works.

@mudler
Copy link
Owner

mudler commented Jun 22, 2024

@FrankDaze - @heralight I'm sorry but that repository isn't maintained anymore, so you should adapt the GALLERIES to drop the huggingface one. We have moved the gallery to this repository directly for better maintenance.

I'd suggest to delete it from the configuration. The only one maintained now is the LocalAI one which is shipped already pre-configured in the images, so you don't have to setup any gallery (unless you are building yours) and you can drop specifying the environment variable completely. You should see then a gallery with the same models as shown in https://models.localai.io.

However the problem that a large gallery might crash the UI is still an issue, but that needs more enhancements like pagination, which is tracked in #2156

@heralight
Copy link

@mudler thank you!
@FrankDaze , to fix it I change my .env to default as:

LOCALAI_GALLERIES=[{"name":"localai", "url":"github:mudler/LocalAI/gallery/index.yaml@master"}]
#GALLERIES=[{"name":"model-gallery", "url":"github:go-skynet/model-gallery/index.yaml"}]

@FrankDaze
Copy link
Author

Thanks it's working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

3 participants