Skip to content
This repository has been archived by the owner on Jun 24, 2023. It is now read-only.

Is there a way to switch model without reloading the docker instance? #3

Closed
yhyu13 opened this issue Apr 19, 2023 · 1 comment
Closed

Comments

@yhyu13
Copy link

yhyu13 commented Apr 19, 2023

I've set up a python script locally which contains a gui that allows modification to the compose yml's MODEL env variable, and then restart the service after model change.

Is there a way to switch model without reloading the docker instance?

I guess I need the dockerfile launch another local python script that intitiate the fastapi script as a subprocess.

@mkellerman
Copy link
Owner

Sorry guys, I’m not supporting this. Please check out:
https://github.com/go-skynet/LocalAI/tree/master/examples/chatbot-ui

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants