From 71498fca56bb9ebef6d7f43f3ede1d615cf50983 Mon Sep 17 00:00:00 2001 From: camenduru <54370274+camenduru@users.noreply.github.com> Date: Thu, 22 Aug 2024 02:30:12 +0300 Subject: [PATCH] test --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 84e315c..5a10a00 100644 --- a/__init__.py +++ b/__init__.py @@ -24,7 +24,7 @@ class SendToTostAIWebhook: def send_to_tost_ai_webhook(self, images, webhook_url: str, webhook_key: str,): (full_output_folder, filename, counter, subfolder, _,) = folder_paths.get_save_image_path("final_tost", folder_paths.get_temp_directory()) - tost_file_path = os.path.join(full_output_folder, f"{filename}_.png") + tost_file_path = os.path.join(full_output_folder, f"{filename}.png") tost_image = 255.0 * images[0].cpu().numpy() tost_image_pil = Image.fromarray(tost_image.astype(np.uint8)) tost_image_pil.save(tost_file_path)