updated peft config
Browse files- 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:
|