zesquirrelnator
commited on
Commit
•
43b595d
1
Parent(s):
aa98b0a
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -6,7 +6,7 @@ import base64
|
|
6 |
|
7 |
class EndpointHandler:
|
8 |
def __init__(self, model_dir):
|
9 |
-
self.model_id = "
|
10 |
self.model = AutoModelForCausalLM.from_pretrained(self.model_id, trust_remote_code=True)
|
11 |
self.tokenizer = AutoTokenizer.from_pretrained("vikhyatk/moondream2", trust_remote_code=True)
|
12 |
|
|
|
6 |
|
7 |
class EndpointHandler:
|
8 |
def __init__(self, model_dir):
|
9 |
+
self.model_id = "vikhyatk/moondream2"
|
10 |
self.model = AutoModelForCausalLM.from_pretrained(self.model_id, trust_remote_code=True)
|
11 |
self.tokenizer = AutoTokenizer.from_pretrained("vikhyatk/moondream2", trust_remote_code=True)
|
12 |
|