Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ body, .gradio-container {
|
|
| 51 |
"""
|
| 52 |
|
| 53 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 54 |
-
gr.Markdown("# 🌀 DEFORUM SOON®🐢 DIFFUSION")
|
| 55 |
gr.Markdown(" ***whatever comes, here's a lazy lil cpu deforum animator for our forever | it's still better than we've known*** ")
|
| 56 |
gr.Markdown("#### MODEL SUGGESTIONS (below):| *Note:* cpu handles turbo/sx/lcm surprisingly ok @low-res|**strength**+**steps** are *KEY*:if both too low=diffusion dies;both too high=slow w/no flow|lower **strength** = more coherence/less detail|use schedules!|try my defaults")
|
| 57 |
gr.Markdown(" *Models in* **bold** *confirmed to work well here.* **cc-nms/tiny-sd-turbo**, **Disty0/LCM_SoteMix**, **AiArtLab/sdxs**, **rupeshs/sdxs-512-0.9-orig-vae**, **SimianLuo/LCM_Dreamshaper_v7**, runwayml/stable-diffusion-v1-5, segmind/tiny-sd, stabilityai/sdxl-turbo, CodeGoat24/sdxl-turbo-unified-reward-dpo, fluently/Fluently-XL-v3-Lightning, segmind/portrait-finetuned, qiacheng/stable-diffusion-v1-5-lcm, AiArtLab/sdxs-08b, nota-ai/bk-sdm-base-2m, nota-ai/bk-sdm-v2-tiny, nota-ai/bk-sdm-tiny-2m, segmind/small-sd | LoRA: latent-consistency/lcm-lora-sdv1-5, akameswa/lcm-lora-tiny-sd, kmpartner/bkv2tpcmlra-test, openskyml/lcm-lora-sdxl-turbo")
|
|
@@ -90,8 +90,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 90 |
|
| 91 |
z = gr.Textbox(label="Zoom", value="0:(1.00), 6:(1.00), 16:(.985), 26:(1.02), 45:(1.00), 60:(0.975), 70:(1.05)")
|
| 92 |
a = gr.Textbox(label="Angle", value="0:(0), 2:(-0.9), 6:(0.9), 10:(-0.9), 14:(0), 20:(1), 30:(-1), 40:(0), 50:(2), 60:(-2), 70:(4)")
|
| 93 |
-
tx = gr.Textbox(label="Translation X", value="0:(-.
|
| 94 |
-
ty = gr.Textbox(label="Translation Y", value="0:(-.1)
|
| 95 |
stre = gr.Textbox(label="Strength", value="0:(.75), 4:(0.25), 10:(0.45), 16:(0.71), 20:(0.23), 30: (0.39), 34:(0.71), 36:(0.25), 44:(.39), 48:(0.72), 50:(0.25), 56:(0.39), 62:(0.75), 64:(0.3), 68:(0.4), 72:(0.75), 76:(0.55)")
|
| 96 |
noi = gr.Textbox(label="Noise Injection", value="0:(0.06), 20:(0.06), 30:(0.12), 40:(0.04), 60:(0.03), 76:(0.05)")
|
| 97 |
|
|
|
|
| 51 |
"""
|
| 52 |
|
| 53 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 54 |
+
gr.Markdown("# 🌀 DEFORUM SOON®🐢 DIFFUSION 🌀 ")
|
| 55 |
gr.Markdown(" ***whatever comes, here's a lazy lil cpu deforum animator for our forever | it's still better than we've known*** ")
|
| 56 |
gr.Markdown("#### MODEL SUGGESTIONS (below):| *Note:* cpu handles turbo/sx/lcm surprisingly ok @low-res|**strength**+**steps** are *KEY*:if both too low=diffusion dies;both too high=slow w/no flow|lower **strength** = more coherence/less detail|use schedules!|try my defaults")
|
| 57 |
gr.Markdown(" *Models in* **bold** *confirmed to work well here.* **cc-nms/tiny-sd-turbo**, **Disty0/LCM_SoteMix**, **AiArtLab/sdxs**, **rupeshs/sdxs-512-0.9-orig-vae**, **SimianLuo/LCM_Dreamshaper_v7**, runwayml/stable-diffusion-v1-5, segmind/tiny-sd, stabilityai/sdxl-turbo, CodeGoat24/sdxl-turbo-unified-reward-dpo, fluently/Fluently-XL-v3-Lightning, segmind/portrait-finetuned, qiacheng/stable-diffusion-v1-5-lcm, AiArtLab/sdxs-08b, nota-ai/bk-sdm-base-2m, nota-ai/bk-sdm-v2-tiny, nota-ai/bk-sdm-tiny-2m, segmind/small-sd | LoRA: latent-consistency/lcm-lora-sdv1-5, akameswa/lcm-lora-tiny-sd, kmpartner/bkv2tpcmlra-test, openskyml/lcm-lora-sdxl-turbo")
|
|
|
|
| 90 |
|
| 91 |
z = gr.Textbox(label="Zoom", value="0:(1.00), 6:(1.00), 16:(.985), 26:(1.02), 45:(1.00), 60:(0.975), 70:(1.05)")
|
| 92 |
a = gr.Textbox(label="Angle", value="0:(0), 2:(-0.9), 6:(0.9), 10:(-0.9), 14:(0), 20:(1), 30:(-1), 40:(0), 50:(2), 60:(-2), 70:(4)")
|
| 93 |
+
tx = gr.Textbox(label="Translation X", value="0:(0), 4:(-0.94) 18:(.8), 30:(-0.9), 50:(1.5), 64:(-2)")
|
| 94 |
+
ty = gr.Textbox(label="Translation Y", value="0:(0), 4:(-0.1) 10:(0.1), 20:(-0.3), 30:(0.3), 20:(-0.4), 30:(0.4), 40:(-0.5), 50:(0.5), 60:(-0.6), 70:(0.6)")
|
| 95 |
stre = gr.Textbox(label="Strength", value="0:(.75), 4:(0.25), 10:(0.45), 16:(0.71), 20:(0.23), 30: (0.39), 34:(0.71), 36:(0.25), 44:(.39), 48:(0.72), 50:(0.25), 56:(0.39), 62:(0.75), 64:(0.3), 68:(0.4), 72:(0.75), 76:(0.55)")
|
| 96 |
noi = gr.Textbox(label="Noise Injection", value="0:(0.06), 20:(0.06), 30:(0.12), 40:(0.04), 60:(0.03), 76:(0.05)")
|
| 97 |
|