Skip to content

Commit 415b798

Browse files
committed
Assistant startup fix
1 parent fb043a7 commit 415b798

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="text2text",
8-
version="1.5.0",
8+
version="1.5.1",
99
author="artitw",
1010
author_email="artitw@gmail.com",
1111
description="Text2Text: Crosslingual NLP/G toolkit",

text2text/assistant.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, **kwargs):
2828

2929
def load_model(self):
3030
sub = subprocess.Popen(
31-
f"ollama serve & ollama pull {self.model_name}",
31+
f"ollama serve & ollama pull {self.model_name} & ollama run {self.model_name}",
3232
shell=True,
3333
stdout=subprocess.PIPE
3434
)

0 commit comments

Comments
 (0)