Kimodo-cpp / app.py
Nekochu's picture
back to a gradio CPU Space, still just a signpost
8af09b3
Raw
History Blame Contribute Delete
2.21 kB
"""Signpost for the merged Space.
Kimodo's models and native runtime moved to Luminia/Kimodo-cpp_momask-codes, so
this app holds no weights and starts instantly. Links carry target="_blank"
because a Space renders inside a sandboxed iframe and huggingface.co refuses to
load in a frame, so a same-frame click dies on X-Frame-Options.
"""
import gradio as gr
NEW = "https://huggingface.co/spaces/Luminia/Kimodo-cpp_momask-codes"
NOTICE = f"""
<div style="max-width:34rem;margin:0 auto;padding:8px 0;">
<p style="font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;
opacity:.6;margin:0 0 .4rem;">This Space has moved</p>
<h1 style="font-size:1.5rem;line-height:1.25;margin:0 0 .6rem;">
Kimodo cpp now lives with MoMask</h1>
<p style="opacity:.75;margin:0 0 1rem;">
Kimodo text to motion has been merged into a single Space alongside MoMask.
Both models are still on free CPU, one tab each, and nothing was removed.</p>
<p style="margin:0 0 1.2rem;">
<a href="{NEW}" target="_blank" rel="noopener"
style="display:inline-block;padding:.65rem 1rem;background:#c2185b;
color:#fff;text-decoration:none;border-radius:6px;font-weight:600;">
Open Luminia/Kimodo-cpp_momask-codes</a></p>
<ul style="opacity:.75;padding-left:1.1rem;margin:0;line-height:1.7;">
<li>Kimodo is the <b>Kimodo (GGML)</b> tab, unchanged. Same four checkpoints,
same SOMA and Unitree G1 rigs.</li>
<li>MoMask is the second tab, roughly ten times cheaper per prompt.</li>
<li>The API endpoint is still <code>/generate</code>, on the new Space.
MoMask answers at <code>/momask_generate</code>.</li>
<li>The MCP server moved with it, to <code>/gradio_api/mcp/sse</code>.</li>
</ul>
</div>
"""
CSS = """
footer{display:none}
.gradio-container{padding:8px !important}
:where(a):focus-visible{outline:2px solid #c2185b !important;outline-offset:3px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{
animation-duration:.01ms !important;transition-duration:.01ms !important}}
"""
with gr.Blocks(title="Kimodo cpp has moved", fill_width=True) as demo:
gr.HTML(NOTICE)
if __name__ == "__main__":
demo.launch(css=CSS)