njwright92 commited on
Commit
2f5dbb7
·
verified ·
1 Parent(s): 34759a9

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -0
handler.py CHANGED
@@ -16,6 +16,7 @@ class EndpointHandler():
16
  self.model = Llama.from_pretrained(
17
  model_id="njwright92/ComicBot_v.2-gguf", # Use model_id instead of filename for repo reference
18
  n_ctx=MAX_TOKENS
 
19
  )
20
  print("Model initialization complete.")
21
 
 
16
  self.model = Llama.from_pretrained(
17
  model_id="njwright92/ComicBot_v.2-gguf", # Use model_id instead of filename for repo reference
18
  n_ctx=MAX_TOKENS
19
+ chat_format="llama-2"
20
  )
21
  print("Model initialization complete.")
22