NOW 0.1!
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -4,7 +4,7 @@ from llama_cpp import Llama
|
|
4 |
MAX_TOKENS=8192
|
5 |
|
6 |
class EndpointHandler():
|
7 |
-
def __init__(self):
|
8 |
self.model = Llama.from_pretrained("MrOvkill/gemma-2-inference-endpoint-GGUF", filename="gemma-2b.q8_0.gguf")
|
9 |
|
10 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|
|
|
4 |
MAX_TOKENS=8192
|
5 |
|
6 |
class EndpointHandler():
|
7 |
+
def __init__(self, data):
|
8 |
self.model = Llama.from_pretrained("MrOvkill/gemma-2-inference-endpoint-GGUF", filename="gemma-2b.q8_0.gguf")
|
9 |
|
10 |
def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
|