diff --git a/nodes/reimagine_node.py b/nodes/reimagine_node.py index 91385bc..66546e9 100644 --- a/nodes/reimagine_node.py +++ b/nodes/reimagine_node.py @@ -58,11 +58,6 @@ class ReimagineNode(): json=payload, headers={"api_token": api_key} ) - print("api_key" + api_key) - print("api_url" + self.api_url) - print("payload" + str(payload)) - - print("now") if response.status_code == 200: response_dict = response.json() image_response = requests.get(response_dict['result'][0]["urls"][0]) diff --git a/nodes/text_2_image_base_node.py b/nodes/text_2_image_base_node.py index 2463845..3407f7d 100644 --- a/nodes/text_2_image_base_node.py +++ b/nodes/text_2_image_base_node.py @@ -72,7 +72,7 @@ class Text2ImageBaseNode(): payload["guidance_method_2"] = guidance_method_2 payload["guidance_method_2_scale"] = guidance_method_2_scale payload["guidance_method_2_image_file"] = guidance_method_2_image - if image_prompt_image != "none": + if image_prompt_image is not "none": image_prompt_image = preprocess_image(image_prompt_image) image_prompt_image = image_to_base64(image_prompt_image) payload["image_prompt_mode"] = image_prompt_mode