samdeniyi commited on
Commit
a8d9677
1 Parent(s): 4c13408

updated peft config

Browse files
Files changed (1) hide show
  1. handler.py +0 -3
handler.py CHANGED
@@ -6,9 +6,6 @@ import time
6
 
7
  class EndpointHandler:
8
  def __init__(self, path="samadeniyi/lora_lesson_plan_model"):
9
- # Load the model configuration
10
- config = PeftConfig.from_pretrained(path)
11
-
12
  try:
13
  config = PeftConfig.from_pretrained(path)
14
  except TypeError as e:
 
6
 
7
  class EndpointHandler:
8
  def __init__(self, path="samadeniyi/lora_lesson_plan_model"):
 
 
 
9
  try:
10
  config = PeftConfig.from_pretrained(path)
11
  except TypeError as e: