Spaces:
Runtime error
Runtime error
Atri commited on
Commit ·
ce271a5
1
Parent(s): d9ba393
Add er_sde/dpmpp_2m_sde_gpu samplers, er_sde default, README-aligned negative prompt
Browse files
README.md
CHANGED
|
@@ -33,3 +33,10 @@ Checkpoints: `hs-anima-2.0.safetensors`, `MiaoMiao RealSkin _Anima_v1.1zs_net.sa
|
|
| 33 |
4. Optional: `GPU_DURATION` env var (default 30s) to tune the ZeroGPU window.
|
| 34 |
|
| 35 |
Workflow: [`image_anima_base_v1.json`](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_anima_base_v1.json).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
4. Optional: `GPU_DURATION` env var (default 30s) to tune the ZeroGPU window.
|
| 34 |
|
| 35 |
Workflow: [`image_anima_base_v1.json`](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/image_anima_base_v1.json).
|
| 36 |
+
|
| 37 |
+
## Prompting (from the official Anima README)
|
| 38 |
+
|
| 39 |
+
- Defaults: 30 steps, CFG 4, `er_sde` / `simple`.
|
| 40 |
+
- Recommended positive prefix: `masterpiece, best quality, score_7, safe, `
|
| 41 |
+
- Recommended negative: `worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration`
|
| 42 |
+
- Use lowercase Danbooru-style tags, spaces instead of underscores; score tags keep underscores; prefix artist tags with `@`.
|
app.py
CHANGED
|
@@ -255,7 +255,7 @@ RESOLUTIONS = {
|
|
| 255 |
"16:9 (1344x768)": (1344, 768),
|
| 256 |
}
|
| 257 |
|
| 258 |
-
SAMPLERS = ["euler", "euler_ancestral", "dpmpp_2m", "dpmpp_2m_sde", "dpmpp_sde", "heun", "ddim", "uni_pc"]
|
| 259 |
SCHEDULERS = ["simple", "normal", "karras", "exponential", "sgm_uniform"]
|
| 260 |
|
| 261 |
LORA_CHOICES = list_loras() or ["real_skin.safetensors"]
|
|
@@ -269,7 +269,7 @@ with gr.Blocks(title="Anima Collection") as app:
|
|
| 269 |
prompt_input = gr.Textbox(label="Prompt", lines=3)
|
| 270 |
negative_input = gr.Textbox(
|
| 271 |
label="Negative prompt", lines=2,
|
| 272 |
-
value="worst quality, low quality,
|
| 273 |
)
|
| 274 |
resolution = gr.Dropdown(label="Resolution", choices=list(RESOLUTIONS), value="1:1 (1024x1024)")
|
| 275 |
with gr.Row():
|
|
@@ -280,7 +280,7 @@ with gr.Blocks(title="Anima Collection") as app:
|
|
| 280 |
steps_input = gr.Slider(label="Steps", minimum=10, maximum=60, value=30, step=1)
|
| 281 |
cfg_input = gr.Slider(label="CFG", minimum=1.0, maximum=8.0, value=4.0, step=0.1)
|
| 282 |
with gr.Accordion("Sampler", open=False):
|
| 283 |
-
sampler_input = gr.Dropdown(label="Sampler", choices=SAMPLERS, value="
|
| 284 |
scheduler_input = gr.Dropdown(label="Scheduler", choices=SCHEDULERS, value="simple")
|
| 285 |
with gr.Accordion("LoRA", open=False):
|
| 286 |
lora_enable = gr.Checkbox(label="Enable", value=False)
|
|
|
|
| 255 |
"16:9 (1344x768)": (1344, 768),
|
| 256 |
}
|
| 257 |
|
| 258 |
+
SAMPLERS = ["er_sde", "euler", "euler_ancestral", "dpmpp_2m", "dpmpp_2m_sde", "dpmpp_2m_sde_gpu", "dpmpp_sde", "heun", "ddim", "uni_pc"]
|
| 259 |
SCHEDULERS = ["simple", "normal", "karras", "exponential", "sgm_uniform"]
|
| 260 |
|
| 261 |
LORA_CHOICES = list_loras() or ["real_skin.safetensors"]
|
|
|
|
| 269 |
prompt_input = gr.Textbox(label="Prompt", lines=3)
|
| 270 |
negative_input = gr.Textbox(
|
| 271 |
label="Negative prompt", lines=2,
|
| 272 |
+
value="worst quality, low quality, score_1, score_2, score_3, artist name, blurry, jpeg artifacts, chromatic aberration",
|
| 273 |
)
|
| 274 |
resolution = gr.Dropdown(label="Resolution", choices=list(RESOLUTIONS), value="1:1 (1024x1024)")
|
| 275 |
with gr.Row():
|
|
|
|
| 280 |
steps_input = gr.Slider(label="Steps", minimum=10, maximum=60, value=30, step=1)
|
| 281 |
cfg_input = gr.Slider(label="CFG", minimum=1.0, maximum=8.0, value=4.0, step=0.1)
|
| 282 |
with gr.Accordion("Sampler", open=False):
|
| 283 |
+
sampler_input = gr.Dropdown(label="Sampler", choices=SAMPLERS, value="er_sde")
|
| 284 |
scheduler_input = gr.Dropdown(label="Scheduler", choices=SCHEDULERS, value="simple")
|
| 285 |
with gr.Accordion("LoRA", open=False):
|
| 286 |
lora_enable = gr.Checkbox(label="Enable", value=False)
|