binaryaaron
commited on
update handler args
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
MAX_TOKENS=8192
|
6 |
|
7 |
class EndpointHandler(object):
|
8 |
-
def __init__(self):
|
9 |
self.pipeline: transformers.Pipeline = transformers.pipeline(
|
10 |
"text-generation",
|
11 |
model="humane-intelligence/gemma2-9b-cpt-sealionv3-instruct-endpoint",
|
|
|
5 |
MAX_TOKENS=8192
|
6 |
|
7 |
class EndpointHandler(object):
|
8 |
+
def __init__(self, path=''):
|
9 |
self.pipeline: transformers.Pipeline = transformers.pipeline(
|
10 |
"text-generation",
|
11 |
model="humane-intelligence/gemma2-9b-cpt-sealionv3-instruct-endpoint",
|