add more scheduler descriptions
Browse files- app.py +1 -1
- appConfig.json +7 -7
app.py
CHANGED
@@ -223,7 +223,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
223 |
|
224 |
gr.Markdown("### Scheduler")
|
225 |
with gr.Row():
|
226 |
-
in_schedulers = gr.Dropdown(choices=list(schedulers.keys()), label="Scheduler", info="see https://huggingface.co/docs/diffusers/using-diffusers/loading#schedulers" )
|
227 |
out_scheduler_description = gr.Textbox(value="", label="Description")
|
228 |
|
229 |
gr.Markdown("### Adapters")
|
|
|
223 |
|
224 |
gr.Markdown("### Scheduler")
|
225 |
with gr.Row():
|
226 |
+
in_schedulers = gr.Dropdown(choices=list(schedulers.keys()), label="Scheduler/Solver", info="the scheduler controls parameter adaption between each inference step, depending on the right scheduler for your model, it may only take 10 or 20 steps to achieve very good results, see https://huggingface.co/docs/diffusers/using-diffusers/loading#schedulers" )
|
227 |
out_scheduler_description = gr.Textbox(value="", label="Description")
|
228 |
|
229 |
gr.Markdown("### Adapters")
|
appConfig.json
CHANGED
@@ -64,13 +64,13 @@
|
|
64 |
"cpu", "cuda", "ipu", "xpu", "mkldnn", "opengl", "opencl", "ideep", "hip", "ve", "fpga", "ort", "xla", "lazy", "vulkan", "mps", "meta", "hpu", "mtia", "privateuseone", "gpu"
|
65 |
],
|
66 |
"schedulers": {
|
67 |
-
"DDPMScheduler": "
|
68 |
-
"DDIMScheduler": "
|
69 |
-
"PNDMScheduler": "
|
70 |
-
"LMSDiscreteScheduler": "
|
71 |
-
"
|
72 |
-
"
|
73 |
-
"DPMSolverMultistepScheduler": "
|
74 |
},
|
75 |
"negative_prompts": [
|
76 |
"lowres, cropped, worst quality, low quality"
|
|
|
64 |
"cpu", "cuda", "ipu", "xpu", "mkldnn", "opengl", "opencl", "ideep", "hip", "ve", "fpga", "ort", "xla", "lazy", "vulkan", "mps", "meta", "hpu", "mtia", "privateuseone", "gpu"
|
65 |
],
|
66 |
"schedulers": {
|
67 |
+
"DDPMScheduler": "Denoising Diffusion Probabilistic Model",
|
68 |
+
"DDIMScheduler": "Denoising Diffusion Incremental Sampling, efficient image generation, might require more tunin",
|
69 |
+
"PNDMScheduler": "Pseudo Numerical Methods for Diffusion Models, not compatible with DDPM pipelines, probably more flexible but with in increased complexity and performance trade-offs",
|
70 |
+
"LMSDiscreteScheduler": "Linear Multistep Scheduler, often leads to better quality results, linear approach, pre-defined noise levels at each step",
|
71 |
+
"EulerDiscreteScheduler": "can achieve high quality images with fewer steps, predefined set of noise levels for each step",
|
72 |
+
"EulerAncestralDiscreteScheduler": "can achieve high quality images with fewer steps, incorporates ancestral sampling for potentially improved image quality but less speed as its twin",
|
73 |
+
"DPMSolverMultistepScheduler": "offers a balance between speed and quality, potentially better than Euler in speed and quality, faster than PNDM, similar to LMS"
|
74 |
},
|
75 |
"negative_prompts": [
|
76 |
"lowres, cropped, worst quality, low quality"
|