Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -3,7 +3,7 @@ from typing import Any, Dict, List
|
|
| 3 |
from fastrag.rankers import QuantizedBiEncoderRanker
|
| 4 |
|
| 5 |
|
| 6 |
-
class
|
| 7 |
def __init__(self, path=""):
|
| 8 |
model_id = "Intel/bge-large-en-v1.5-rag-int8-static"
|
| 9 |
self.ranker = QuantizedBiEncoderRanker(model_name_or_path=model_id)
|
|
|
|
| 3 |
from fastrag.rankers import QuantizedBiEncoderRanker
|
| 4 |
|
| 5 |
|
| 6 |
+
class EndpointHandler:
|
| 7 |
def __init__(self, path=""):
|
| 8 |
model_id = "Intel/bge-large-en-v1.5-rag-int8-static"
|
| 9 |
self.ranker = QuantizedBiEncoderRanker(model_name_or_path=model_id)
|