Rename method

This commit is contained in:
Paul
2024-06-27 15:00:20 +00:00
parent 223d87a11f
commit b763c59898
+2 -2
View File
@@ -30,7 +30,7 @@ def create_comfyui_node(schema):
return schema_to_comfyui_input_types(schema)
RETURN_TYPES = (return_type,)
FUNCTION = "run_openapi_to_comfyui"
FUNCTION = "run_replicate_model"
CATEGORY = "Replicate"
def convert_image_to_base64(self, image):
@@ -87,7 +87,7 @@ def create_comfyui_node(schema):
print("No output received from the model")
return None
def run_openapi_to_comfyui(self, **kwargs):
def run_replicate_model(self, **kwargs):
for key, value in kwargs.items():
if value is not None:
input_type = (