diff --git a/src/cpp/src/image_generation/image2image_pipeline.cpp b/src/cpp/src/image_generation/image2image_pipeline.cpp index 38ff5a0a4c..90c6e9fae4 100644 --- a/src/cpp/src/image_generation/image2image_pipeline.cpp +++ b/src/cpp/src/image_generation/image2image_pipeline.cpp @@ -23,7 +23,7 @@ Image2ImagePipeline::Image2ImagePipeline(const std::filesystem::path& root_dir) } else if (class_name == "StableDiffusionXLPipeline") { m_impl = std::make_shared(PipelineType::IMAGE_2_IMAGE, root_dir); } else { - OPENVINO_THROW("Unsupported text to image generation pipeline '", class_name, "'"); + OPENVINO_THROW("Unsupported image to image generation pipeline '", class_name, "'"); } } @@ -35,7 +35,7 @@ Image2ImagePipeline::Image2ImagePipeline(const std::filesystem::path& root_dir, } else if (class_name == "StableDiffusionXLPipeline") { m_impl = std::make_shared(PipelineType::IMAGE_2_IMAGE, root_dir, device, properties); } else { - OPENVINO_THROW("Unsupported text to image generation pipeline '", class_name, "'"); + OPENVINO_THROW("Unsupported image to image generation pipeline '", class_name, "'"); } } diff --git a/src/cpp/src/image_generation/inpainting_pipeline.cpp b/src/cpp/src/image_generation/inpainting_pipeline.cpp index a510be0a57..a9179f5fd0 100644 --- a/src/cpp/src/image_generation/inpainting_pipeline.cpp +++ b/src/cpp/src/image_generation/inpainting_pipeline.cpp @@ -26,7 +26,7 @@ InpaintingPipeline::InpaintingPipeline(const std::filesystem::path& root_dir) { } else if (class_name == "StableDiffusionXLPipeline" || class_name == "StableDiffusionXLInpaintPipeline") { m_impl = std::make_shared(PipelineType::INPAINTING, root_dir); } else { - OPENVINO_THROW("Unsupported text to image generation pipeline '", class_name, "'"); + OPENVINO_THROW("Unsupported inpainting pipeline '", class_name, "'"); } } @@ -40,7 +40,7 @@ InpaintingPipeline::InpaintingPipeline(const std::filesystem::path& root_dir, co } else if (class_name == "StableDiffusionXLPipeline" || class_name == "StableDiffusionXLInpaintPipeline") { m_impl = std::make_shared(PipelineType::INPAINTING, root_dir, device, properties); } else { - OPENVINO_THROW("Unsupported text to image generation pipeline '", class_name, "'"); + OPENVINO_THROW("Unsupported inpainting pipeline '", class_name, "'"); } }