diff --git a/__init__.py b/__init__.py index 5a10a00..5f30c36 100644 --- a/__init__.py +++ b/__init__.py @@ -29,10 +29,6 @@ class SendToTostAIWebhook: tost_image_pil = Image.fromarray(tost_image.astype(np.uint8)) tost_image_pil.save(tost_file_path) response = requests.post(f"{webhook_url}/{webhook_key}", files={"file": open(tost_file_path, "rb")}) - if response.status_code == 204: - print("Successfully uploaded file to TostAI.") - else: - print(f"Failed to upload file. Status code: {response.status_code}:{response.text}") return (f"{response.status_code}:{response.text}", ) NODE_CLASS_MAPPINGS = {