nizar-sayad commited on
Commit
9b01ad2
1 Parent(s): 34bb7b3

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
 
5
 
6
  class EndpointHandler():
7
- def __init__(self, path=""):
8
  # load model and processor from path
9
  self.model = AutoModelForCausalLM.from_pretrained(path)
10
  self.tokenizer = AutoTokenizer.from_pretrained(path)
 
4
 
5
 
6
  class EndpointHandler():
7
+ def __init__(self, path="."):
8
  # load model and processor from path
9
  self.model = AutoModelForCausalLM.from_pretrained(path)
10
  self.tokenizer = AutoTokenizer.from_pretrained(path)