Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,12 +28,32 @@ def stop_gen():
|
|
| 28 |
runner.stop()
|
| 29 |
return "Stopping..."
|
| 30 |
|
| 31 |
-
css = "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 34 |
gr.Markdown("# 🌀 DEFORUM SOON®🐢 DIFFUSION")
|
| 35 |
-
gr.Markdown("
|
| 36 |
-
gr.Markdown("**
|
| 37 |
with gr.Row():
|
| 38 |
with gr.Column():
|
| 39 |
with gr.Accordion("Pipeline Config", open=True):
|
|
@@ -94,4 +114,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 94 |
btn.click(process, inputs=inputs, outputs=[preview, video_out, zip_out, status])
|
| 95 |
stop.click(stop_gen, outputs=status)
|
| 96 |
|
| 97 |
-
demo.queue().launch(css=css, theme=gr.themes.Glass())
|
|
|
|
| 28 |
runner.stop()
|
| 29 |
return "Stopping..."
|
| 30 |
|
| 31 |
+
css = """
|
| 32 |
+
#col-container {max_width: 1000px; margin: 0 auto;}
|
| 33 |
+
@font-face {
|
| 34 |
+
font-family: "Cadman Regular";
|
| 35 |
+
src: url("https://st.1001fonts.net/download/font/cadman.regular.otf") format('opentype');
|
| 36 |
+
|
| 37 |
+
body, .gradio-container {
|
| 38 |
+
font-family: "Cadman Regular", sans-serif !important;
|
| 39 |
+
background-color: #132015 !important;
|
| 40 |
+
color: #e0eecd;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.block {
|
| 44 |
+
border: 1px solid #1a2f1a;
|
| 45 |
+
border-radius: 4px;
|
| 46 |
+
box-shadow: 1px 1px 2px 1px #1D3A1B;
|
| 47 |
+
padding: 10px !important; /* Reduced padding like Merger */
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
}
|
| 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 | still better than we've known ***")
|
| 56 |
+
gr.Markdown("**MODEL SUGGESTIONS:** **cc-nms/tiny-sd-turbo**, **Disty0/LCM_SoteMix**, **AiArtLab/sdxs**, **rupeshs/sdxs-512-0.9-orig-vae**, runwayml/stable-diffusion-v1-5, segmind/tiny-sd, stabilityai/sdxl-turbo, CodeGoat24/sdxl-turbo-unified-reward-dpo, fluently/Fluently-XL-v3-Lightning, SimianLuo/LCM_Dreamshaper_v7, segmind/portrait-finetuned, qiacheng/stable-diffusion-v1-5-lcm, AiArtLab/sdxs-08b, n1i/sdxl-ssd-1b-lcm, 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")
|
| 57 |
with gr.Row():
|
| 58 |
with gr.Column():
|
| 59 |
with gr.Accordion("Pipeline Config", open=True):
|
|
|
|
| 114 |
btn.click(process, inputs=inputs, outputs=[preview, video_out, zip_out, status])
|
| 115 |
stop.click(stop_gen, outputs=status)
|
| 116 |
|
| 117 |
+
demo.queue().launch(css=css, theme=gr.themes.Glass(), mcp_server=True, share=True)
|