Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
|
@@ -200,7 +200,7 @@ class EndpointHandler():
|
|
| 200 |
def __init__(self, path=""):
|
| 201 |
# load the optimized model
|
| 202 |
print("Logs: model loaded .... starts")
|
| 203 |
-
|
| 204 |
prompt_modifier.load()
|
| 205 |
|
| 206 |
lora_style.load(path)
|
|
@@ -210,7 +210,7 @@ class EndpointHandler():
|
|
| 210 |
|
| 211 |
for model in multi_model_list:
|
| 212 |
print("Logs: model value is", model)
|
| 213 |
-
print("Logs: model path value is",
|
| 214 |
# self.multi_controlnet_model[model["model_id"]] = controlnet.load(model["model_id"])
|
| 215 |
# self.multi_text2image_model[model["model_id"]] = text2img_pipe.load(model["model_id"])
|
| 216 |
# self.multi_image2image_model[model["model_id"]] = img2img_pipe.load(model["model_id"])
|
|
|
|
| 200 |
def __init__(self, path=""):
|
| 201 |
# load the optimized model
|
| 202 |
print("Logs: model loaded .... starts")
|
| 203 |
+
|
| 204 |
prompt_modifier.load()
|
| 205 |
|
| 206 |
lora_style.load(path)
|
|
|
|
| 210 |
|
| 211 |
for model in multi_model_list:
|
| 212 |
print("Logs: model value is", model)
|
| 213 |
+
print("Logs: model path value is", model["model_id"] )
|
| 214 |
# self.multi_controlnet_model[model["model_id"]] = controlnet.load(model["model_id"])
|
| 215 |
# self.multi_text2image_model[model["model_id"]] = text2img_pipe.load(model["model_id"])
|
| 216 |
# self.multi_image2image_model[model["model_id"]] = img2img_pipe.load(model["model_id"])
|