medmac01 commited on
Commit
e81a885
1 Parent(s): 0e29ec5

Update handler.py

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