add image quality arg

https://github.com/Sanster/lama-cleaner/issues/229
This commit is contained in:
Qing
2023-03-20 21:23:49 +08:00
parent 5f4c62ac18
commit 1bb25bebe6
5 changed files with 67 additions and 42 deletions

View File

@@ -7,7 +7,6 @@ MPS_SUPPORT_MODELS = [
"realisticVision1.4",
"sd2",
"paint_by_example",
"controlnet",
]
DEFAULT_MODEL = "lama"
@@ -25,7 +24,6 @@ AVAILABLE_MODELS = [
"sd2",
"paint_by_example",
"instruct_pix2pix",
"controlnet",
]
SD15_MODELS = ["sd1.5", "anything4", "realisticVision1.4"]
@@ -50,7 +48,7 @@ Run Stable Diffusion text encoder model on CPU to save GPU memory.
"""
SD_CONTROLNET_HELP = """
Run Stable Diffusion 1.5 inpainting model with controlNet-canny model.
Run Stable Diffusion 1.5 inpainting model with Canny ControlNet control.
"""
LOCAL_FILES_ONLY_HELP = """
@@ -84,3 +82,7 @@ Launch Lama Cleaner as desktop app
NO_GUI_AUTO_CLOSE_HELP = """
Prevent backend auto close after the GUI window closed.
"""
QUALITY_HELP = """
Quality of image encoding, 0-100. Default is 95, higher quality will generate larger file size.
"""