mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-13 09:48:26 +01:00
Fix import, remove debug output
This commit is contained in:
parent
15a1436c8b
commit
a671dd8e00
@ -188,11 +188,9 @@ def render_internal(req: dict):
|
|||||||
|
|
||||||
def model_merge_internal(req: dict):
|
def model_merge_internal(req: dict):
|
||||||
try:
|
try:
|
||||||
from sdkit.train.merge_models import merge_models
|
from sdkit.train import merge_models
|
||||||
from easydiffusion.utils.save_utils import filename_regex
|
from easydiffusion.utils.save_utils import filename_regex
|
||||||
mergeReq: MergeRequest = MergeRequest.parse_obj(req)
|
mergeReq: MergeRequest = MergeRequest.parse_obj(req)
|
||||||
print('model_merge_internal')
|
|
||||||
print(mergeReq)
|
|
||||||
|
|
||||||
merge_models(model_manager.resolve_model_to_use(mergeReq.model0,'stable-diffusion'),
|
merge_models(model_manager.resolve_model_to_use(mergeReq.model0,'stable-diffusion'),
|
||||||
model_manager.resolve_model_to_use(mergeReq.model1,'stable-diffusion'),
|
model_manager.resolve_model_to_use(mergeReq.model1,'stable-diffusion'),
|
||||||
|
Loading…
Reference in New Issue
Block a user