Changed code so that Ollama closes gracefully
This commit is contained in:
parent
cf4a17b6eb
commit
e81d918675
@ -20,7 +20,7 @@ def start():
|
||||
def stop():
|
||||
global instance
|
||||
if instance:
|
||||
instance.kill()
|
||||
instance.terminate()
|
||||
instance.wait()
|
||||
instance = None
|
||||
print("Stopped Alpaca's Ollama instance")
|
||||
|
Loading…
x
Reference in New Issue
Block a user