Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
from typing import Any, Dict
|
5 |
|
6 |
-
class
|
7 |
INSTRUCTION_KEY = "### Instruction:"
|
8 |
RESPONSE_KEY = "### Response:"
|
9 |
END_KEY = "### End"
|
|
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
from typing import Any, Dict
|
5 |
|
6 |
+
class EndpointHandler:
|
7 |
INSTRUCTION_KEY = "### Instruction:"
|
8 |
RESPONSE_KEY = "### Response:"
|
9 |
END_KEY = "### End"
|