@@ -83,7 +83,7 @@ Check the [custom scripts](https://github.com/AUTOMATIC1111/stable-diffusion-web
...
@@ -83,7 +83,7 @@ Check the [custom scripts](https://github.com/AUTOMATIC1111/stable-diffusion-web
- Estimated completion time in progress bar
- Estimated completion time in progress bar
- API
- API
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML.
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML.
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embeds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
-[Stable Diffusion 2.0](https://github.com/Stability-AI/stablediffusion) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20) for instructions
-[Stable Diffusion 2.0](https://github.com/Stability-AI/stablediffusion) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20) for instructions
@@ -100,7 +100,7 @@ function create_submit_args(args){
...
@@ -100,7 +100,7 @@ function create_submit_args(args){
// As it is currently, txt2img and img2img send back the previous output args (txt2img_gallery, generation_info, html_info) whenever you generate a new image.
// As it is currently, txt2img and img2img send back the previous output args (txt2img_gallery, generation_info, html_info) whenever you generate a new image.
// This can lead to uploading a huge gallery of previously generated images, which leads to an unnecessary delay between submitting and beginning to generate.
// This can lead to uploading a huge gallery of previously generated images, which leads to an unnecessary delay between submitting and beginning to generate.
// I don't know why gradio is seding outputs along with inputs, but we can prevent sending the image gallery here, which seems to be an issue for some.
// I don't know why gradio is sending outputs along with inputs, but we can prevent sending the image gallery here, which seems to be an issue for some.
// If gradio at some point stops sending outputs, this may break something
// If gradio at some point stops sending outputs, this may break something
@@ -128,7 +128,7 @@ class ExtrasBaseRequest(BaseModel):
...
@@ -128,7 +128,7 @@ class ExtrasBaseRequest(BaseModel):
upscaling_resize:float=Field(default=2,title="Upscaling Factor",ge=1,le=4,description="By how much to upscale the image, only used when resize_mode=0.")
upscaling_resize:float=Field(default=2,title="Upscaling Factor",ge=1,le=4,description="By how much to upscale the image, only used when resize_mode=0.")
upscaling_resize_w:int=Field(default=512,title="Target Width",ge=1,description="Target width for the upscaler to hit. Only used when resize_mode=1.")
upscaling_resize_w:int=Field(default=512,title="Target Width",ge=1,description="Target width for the upscaler to hit. Only used when resize_mode=1.")
upscaling_resize_h:int=Field(default=512,title="Target Height",ge=1,description="Target height for the upscaler to hit. Only used when resize_mode=1.")
upscaling_resize_h:int=Field(default=512,title="Target Height",ge=1,description="Target height for the upscaler to hit. Only used when resize_mode=1.")
upscaling_crop:bool=Field(default=True,title="Crop to fit",description="Should the upscaler crop the image to fit in the choosen size?")
upscaling_crop:bool=Field(default=True,title="Crop to fit",description="Should the upscaler crop the image to fit in the chosen size?")
upscaler_1:str=Field(default="None",title="Main upscaler",description=f"The name of the main upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
upscaler_1:str=Field(default="None",title="Main upscaler",description=f"The name of the main upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
upscaler_2:str=Field(default="None",title="Secondary upscaler",description=f"The name of the secondary upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
upscaler_2:str=Field(default="None",title="Secondary upscaler",description=f"The name of the secondary upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}")
extras_upscaler_2_visibility:float=Field(default=0,title="Secondary upscaler visibility",ge=0,le=1,allow_inf_nan=False,description="Sets the visibility of secondary upscaler, values should be between 0 and 1.")
extras_upscaler_2_visibility:float=Field(default=0,title="Secondary upscaler visibility",ge=0,le=1,allow_inf_nan=False,description="Sets the visibility of secondary upscaler, values should be between 0 and 1.")