Unverified Commit 2cfdf375 authored by Pedro Cuenca's avatar Pedro Cuenca Committed by GitHub
Browse files

Fix typo (#1558)



* Fix typo in pipeline_stable_diffusion.py

Fixes a typo in a warning message

* Fix copies.

* Fix copies
Co-authored-by: default avatarScott <scott@scottinallca.ps>
parent 62b497c4
...@@ -140,7 +140,7 @@ class AltDiffusionPipeline(DiffusionPipeline): ...@@ -140,7 +140,7 @@ class AltDiffusionPipeline(DiffusionPipeline):
if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64: if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64:
deprecation_message = ( deprecation_message = (
"The configuration file of the unet has set the default `sample_size` to smaller than" "The configuration file of the unet has set the default `sample_size` to smaller than"
" 64 which seems highly unlikely .If you're checkpoint is a fine-tuned version of any of the" " 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the"
" following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-" " following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-"
" CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5" " CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5"
" \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the" " \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the"
......
...@@ -153,7 +153,7 @@ class AltDiffusionImg2ImgPipeline(DiffusionPipeline): ...@@ -153,7 +153,7 @@ class AltDiffusionImg2ImgPipeline(DiffusionPipeline):
if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64: if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64:
deprecation_message = ( deprecation_message = (
"The configuration file of the unet has set the default `sample_size` to smaller than" "The configuration file of the unet has set the default `sample_size` to smaller than"
" 64 which seems highly unlikely .If you're checkpoint is a fine-tuned version of any of the" " 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the"
" following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-" " following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-"
" CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5" " CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5"
" \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the" " \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the"
......
...@@ -139,7 +139,7 @@ class StableDiffusionPipeline(DiffusionPipeline): ...@@ -139,7 +139,7 @@ class StableDiffusionPipeline(DiffusionPipeline):
if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64: if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64:
deprecation_message = ( deprecation_message = (
"The configuration file of the unet has set the default `sample_size` to smaller than" "The configuration file of the unet has set the default `sample_size` to smaller than"
" 64 which seems highly unlikely .If you're checkpoint is a fine-tuned version of any of the" " 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the"
" following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-" " following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-"
" CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5" " CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5"
" \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the" " \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the"
......
...@@ -152,7 +152,7 @@ class StableDiffusionImg2ImgPipeline(DiffusionPipeline): ...@@ -152,7 +152,7 @@ class StableDiffusionImg2ImgPipeline(DiffusionPipeline):
if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64: if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64:
deprecation_message = ( deprecation_message = (
"The configuration file of the unet has set the default `sample_size` to smaller than" "The configuration file of the unet has set the default `sample_size` to smaller than"
" 64 which seems highly unlikely .If you're checkpoint is a fine-tuned version of any of the" " 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the"
" following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-" " following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-"
" CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5" " CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5"
" \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the" " \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the"
......
...@@ -165,7 +165,7 @@ class StableDiffusionInpaintPipelineLegacy(DiffusionPipeline): ...@@ -165,7 +165,7 @@ class StableDiffusionInpaintPipelineLegacy(DiffusionPipeline):
if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64: if is_unet_version_less_0_9_0 and is_unet_sample_size_less_64:
deprecation_message = ( deprecation_message = (
"The configuration file of the unet has set the default `sample_size` to smaller than" "The configuration file of the unet has set the default `sample_size` to smaller than"
" 64 which seems highly unlikely .If you're checkpoint is a fine-tuned version of any of the" " 64 which seems highly unlikely. If your checkpoint is a fine-tuned version of any of the"
" following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-" " following: \n- CompVis/stable-diffusion-v1-4 \n- CompVis/stable-diffusion-v1-3 \n-"
" CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5" " CompVis/stable-diffusion-v1-2 \n- CompVis/stable-diffusion-v1-1 \n- runwayml/stable-diffusion-v1-5"
" \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the" " \n- runwayml/stable-diffusion-inpainting \n you should change 'sample_size' to 64 in the"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment