option for using slider for number widge
This commit is contained in:
@@ -105,7 +105,6 @@ def define_comfyui_nodes_legacy(sdppp):
|
||||
document_identify=document['identify'],
|
||||
layer_identify=item_layer,
|
||||
boundary=convert_mask_to_boundary(item_bound),
|
||||
max_wh=sdppp_arg_item['ps_maxGetImageWH'],
|
||||
quality=sdppp_get_prompt_item_from_list(quality, i)
|
||||
)
|
||||
)
|
||||
|
||||
@@ -17,7 +17,7 @@ class ProtocolPhotoshop:
|
||||
cls.sdpppServer = sdpppServer
|
||||
|
||||
@classmethod
|
||||
async def get_image(cls, instance_id, document_identify, layer_identify, boundary, max_wh=60606, quality=100.0):
|
||||
async def get_image(cls, instance_id, document_identify, layer_identify, boundary, quality=100.0):
|
||||
ppp_instance = cls.sdpppServer.ppp_instances[instance_id]
|
||||
result = await protocol_call(ppp_instance, 'B_photoshop', data={
|
||||
'action': 'getImage',
|
||||
@@ -25,7 +25,6 @@ class ProtocolPhotoshop:
|
||||
'document_identify': document_identify,
|
||||
'layer_identify': layer_identify,
|
||||
'boundary': boundary,
|
||||
'max_wh': max_wh,
|
||||
'quality': quality
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user