Fix typo (#1558)
* Fix typo in pipeline_stable_diffusion.py Fixes a typo in a warning message * Fix copies. * Fix copies Co-authored-by: Scott <scott@scottinallca.ps>
This commit is contained in:
parent
62b497c418
commit
2cfdf37537
|
@ -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):
|
||||||
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):
|
||||||
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):
|
||||||
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):
|
||||||
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"
|
||||||
|
|
Loading…
Reference in New Issue