taylorj94 commited on
Commit
85568f9
·
verified ·
1 Parent(s): fcd4f5b

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -2
handler.py CHANGED
@@ -31,8 +31,7 @@ class EndpointHandler:
31
  path (str): Path to the GGUF file.
32
  """
33
 
34
- print(f"Current working directory: {os.getcwd()}")
35
- self.model = Llama(model_path="app/Llama-3.2-1B-Instruct-Q4_K_L.gguf")
36
  self.tokenizer = self.model.tokenizer # GGUF-specific tokenizer, if available
37
 
38
  def __call__(self, data: Any) -> List[Dict[str, str]]:
 
31
  path (str): Path to the GGUF file.
32
  """
33
 
34
+ self.model = Llama(model_path="/repository/Llama-3.2-1B-Instruct-Q4_K_L.gguf")
 
35
  self.tokenizer = self.model.tokenizer # GGUF-specific tokenizer, if available
36
 
37
  def __call__(self, data: Any) -> List[Dict[str, str]]: