Andrew Luo commited on
Commit
6cf0f91
1 Parent(s): 345a2f0
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -3,7 +3,7 @@ from InstructorEmbedding import INSTRUCTOR
3
 
4
  class EndpointHandler():
5
  def __init__(self, path=""):
6
- model = INSTRUCTOR('hkunlp/instructor-large')
7
  self.model = model
8
 
9
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
 
3
 
4
  class EndpointHandler():
5
  def __init__(self, path=""):
6
+ model = INSTRUCTOR(path)
7
  self.model = model
8
 
9
  def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]: