hughtayloe commited on
Commit
58ff319
·
verified ·
1 Parent(s): 415782a

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -6,7 +6,7 @@ from transformers import AutoProcessor, LlavaForConditionalGeneration
6
 
7
  class EndpointHandler():
8
  def __init__(self, path=""):
9
- model_id = ""
10
  self.model = LlavaForConditionalGeneration.from_pretrained(
11
  model_id,
12
  torch_dtype=torch.float16,
 
6
 
7
  class EndpointHandler():
8
  def __init__(self, path=""):
9
+ model_id = path
10
  self.model = LlavaForConditionalGeneration.from_pretrained(
11
  model_id,
12
  torch_dtype=torch.float16,