Spaces:
Sleeping
Sleeping
Update connections/model.py
Browse files- connections/model.py +1 -1
connections/model.py
CHANGED
@@ -23,7 +23,7 @@ class InferencePipeline:
|
|
23 |
|
24 |
def infer(self, prompt):
|
25 |
|
26 |
-
outputs = pipeline(
|
27 |
prompt,
|
28 |
max_new_tokens=self.conf["model"]["max_new_tokens"],
|
29 |
)
|
|
|
23 |
|
24 |
def infer(self, prompt):
|
25 |
|
26 |
+
outputs = self.pipeline(
|
27 |
prompt,
|
28 |
max_new_tokens=self.conf["model"]["max_new_tokens"],
|
29 |
)
|