mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
Control add setting to run hires with or without control
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -25,7 +25,7 @@ def get_sd_models():
|
||||
|
||||
def get_controlnets(model_type: Optional[str] = None):
|
||||
from modules.control.units.controlnet import api_list_models
|
||||
return api_list_models()
|
||||
return api_list_models(model_type)
|
||||
|
||||
def get_hypernetworks():
|
||||
return [{"name": name, "path": shared.hypernetworks[name]} for name in shared.hypernetworks]
|
||||
|
||||
Reference in New Issue
Block a user