Upload handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
|
@@ -45,8 +45,8 @@ class EndpointHandler():
|
|
| 45 |
|
| 46 |
# Call the generate function
|
| 47 |
output = generate(
|
| 48 |
-
tokenizer=tokenizer,
|
| 49 |
-
model=model,
|
| 50 |
message=message,
|
| 51 |
chat_history=chat_history,
|
| 52 |
system_prompt=system_prompt,
|
|
|
|
| 45 |
|
| 46 |
# Call the generate function
|
| 47 |
output = generate(
|
| 48 |
+
tokenizer=self.tokenizer,
|
| 49 |
+
model=self.model,
|
| 50 |
message=message,
|
| 51 |
chat_history=chat_history,
|
| 52 |
system_prompt=system_prompt,
|