Commit
•
7fc99b0
1
Parent(s):
7338dd5
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -9,7 +9,7 @@ from fastrag.embedders import (
|
|
9 |
|
10 |
|
11 |
class EndpointHandler:
|
12 |
-
def __init__(self):
|
13 |
model_id = "Intel/bge-small-en-v1.5-rag-int8-static"
|
14 |
|
15 |
self.query_embedder = IPEXSentenceTransformersTextEmbedder(model_id)
|
|
|
9 |
|
10 |
|
11 |
class EndpointHandler:
|
12 |
+
def __init__(self, path=""):
|
13 |
model_id = "Intel/bge-small-en-v1.5-rag-int8-static"
|
14 |
|
15 |
self.query_embedder = IPEXSentenceTransformersTextEmbedder(model_id)
|